1f39e042aSJiri Olsaperf-y += builtin-test.o 2f39e042aSJiri Olsaperf-y += parse-events.o 3f39e042aSJiri Olsaperf-y += dso-data.o 4f39e042aSJiri Olsaperf-y += attr.o 5f39e042aSJiri Olsaperf-y += vmlinux-kallsyms.o 6fbb2df23SRiku Voipioperf-y += openat-syscall.o 7fbb2df23SRiku Voipioperf-y += openat-syscall-all-cpus.o 8fbb2df23SRiku Voipioperf-y += openat-syscall-tp-fields.o 9f39e042aSJiri Olsaperf-y += mmap-basic.o 10f39e042aSJiri Olsaperf-y += perf-record.o 11f39e042aSJiri Olsaperf-y += evsel-roundtrip-name.o 12f39e042aSJiri Olsaperf-y += evsel-tp-sched.o 13f39e042aSJiri Olsaperf-y += fdarray.o 14f39e042aSJiri Olsaperf-y += pmu.o 15f39e042aSJiri Olsaperf-y += hists_common.o 16f39e042aSJiri Olsaperf-y += hists_link.o 17f39e042aSJiri Olsaperf-y += hists_filter.o 18f39e042aSJiri Olsaperf-y += hists_output.o 19f39e042aSJiri Olsaperf-y += hists_cumulate.o 20f39e042aSJiri Olsaperf-y += python-use.o 21f39e042aSJiri Olsaperf-y += bp_signal.o 22f39e042aSJiri Olsaperf-y += bp_signal_overflow.o 23f39e042aSJiri Olsaperf-y += task-exit.o 24f39e042aSJiri Olsaperf-y += sw-clock.o 25f39e042aSJiri Olsaperf-y += mmap-thread-lookup.o 26f39e042aSJiri Olsaperf-y += thread-mg-share.o 27f39e042aSJiri Olsaperf-y += switch-tracking.o 28f39e042aSJiri Olsaperf-y += keep-tracking.o 29f39e042aSJiri Olsaperf-y += code-reading.o 30f39e042aSJiri Olsaperf-y += sample-parsing.o 31f39e042aSJiri Olsaperf-y += parse-no-sample-id-all.o 323c8a67f5SJiri Olsaperf-y += kmod-path.o 33134aa44fSJiri Olsaperf-y += thread-map.o 34bbb7d492SWang Nanperf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o 35ba1fae43SWang Nanperf-y += bpf.o 36c84974edSKan Liangperf-y += topology.o 376c872901SJiri Olsaperf-y += cpumap.o 38f39e042aSJiri Olsa 398bda6a63SJosh Poimboeuf$(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build 40b31de018SWang Nan $(call rule_mkdir) 41b31de018SWang Nan $(Q)echo '#include <tests/llvm.h>' > $@ 42b31de018SWang Nan $(Q)echo 'const char test_llvm__bpf_base_prog[] =' >> $@ 43b31de018SWang Nan $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ 44b31de018SWang Nan $(Q)echo ';' >> $@ 45b31de018SWang Nan 468bda6a63SJosh Poimboeuf$(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build 477af3f3d5SWang Nan $(call rule_mkdir) 487af3f3d5SWang Nan $(Q)echo '#include <tests/llvm.h>' > $@ 497af3f3d5SWang Nan $(Q)echo 'const char test_llvm__bpf_test_kbuild_prog[] =' >> $@ 507af3f3d5SWang Nan $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ 517af3f3d5SWang Nan $(Q)echo ';' >> $@ 527af3f3d5SWang Nan 538bda6a63SJosh Poimboeuf$(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build 54bbb7d492SWang Nan $(call rule_mkdir) 55bbb7d492SWang Nan $(Q)echo '#include <tests/llvm.h>' > $@ 56bbb7d492SWang Nan $(Q)echo 'const char test_llvm__bpf_test_prologue_prog[] =' >> $@ 57bbb7d492SWang Nan $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ 58bbb7d492SWang Nan $(Q)echo ';' >> $@ 59bbb7d492SWang Nan 603237f281SWang Nanifeq ($(ARCH),$(filter $(ARCH),x86 arm arm64)) 61f39e042aSJiri Olsaperf-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o 62f39e042aSJiri Olsaendif 63f39e042aSJiri Olsa 64f39e042aSJiri OlsaCFLAGS_attr.o += -DBINDIR="BUILD_STR($(bindir_SQ))" -DPYTHON="BUILD_STR($(PYTHON_WORD))" 65f39e042aSJiri OlsaCFLAGS_python-use.o += -DPYTHONPATH="BUILD_STR($(OUTPUT)python)" -DPYTHON="BUILD_STR($(PYTHON_WORD))" 66f39e042aSJiri OlsaCFLAGS_dwarf-unwind.o += -fno-optimize-sibling-calls 67