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 23032db28eSJiri Olsaperf-y += bp_account.o 242e85d597SRavi Bangoriaperf-y += wp.o 25f39e042aSJiri Olsaperf-y += task-exit.o 26f39e042aSJiri Olsaperf-y += sw-clock.o 27f39e042aSJiri Olsaperf-y += mmap-thread-lookup.o 28f39e042aSJiri Olsaperf-y += thread-mg-share.o 29f39e042aSJiri Olsaperf-y += switch-tracking.o 30f39e042aSJiri Olsaperf-y += keep-tracking.o 31f39e042aSJiri Olsaperf-y += code-reading.o 32f39e042aSJiri Olsaperf-y += sample-parsing.o 33f39e042aSJiri Olsaperf-y += parse-no-sample-id-all.o 343c8a67f5SJiri Olsaperf-y += kmod-path.o 35134aa44fSJiri Olsaperf-y += thread-map.o 367b6982ceSWang Nanperf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o 37ba1fae43SWang Nanperf-y += bpf.o 38c84974edSKan Liangperf-y += topology.o 393067eaa7SAndi Kleenperf-y += mem.o 406c872901SJiri Olsaperf-y += cpumap.o 4167424342SJiri Olsaperf-y += stat.o 42a6e52817SJiri Olsaperf-y += event_update.o 43b31d660dSJiri Olsaperf-y += event-times.o 4407516736SAndi Kleenperf-y += expr.o 45ee74701eSWang Nanperf-y += backward-ring-buffer.o 468e5dc848SMasami Hiramatsuperf-y += sdt.o 47988dd774SJiri Olsaperf-y += is_printable_array.o 48ff3e33b0SJiri Olsaperf-y += bitmap.o 49a074865eSWang Nanperf-y += perf-hooks.o 5000b86691SWang Nanperf-y += clang.o 519808143bSJiri Olsaperf-y += unit_number__scnprintf.o 528185850aSJiri Olsaperf-y += mem2node.o 534f600bcfSJiri Olsaperf-y += map_groups.o 54e39a12cbSAdrian Hunterperf-y += time-utils-test.o 55f39e042aSJiri Olsa 568bda6a63SJosh Poimboeuf$(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build 57b31de018SWang Nan $(call rule_mkdir) 58b31de018SWang Nan $(Q)echo '#include <tests/llvm.h>' > $@ 59b31de018SWang Nan $(Q)echo 'const char test_llvm__bpf_base_prog[] =' >> $@ 60b31de018SWang Nan $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ 61b31de018SWang Nan $(Q)echo ';' >> $@ 62b31de018SWang Nan 638bda6a63SJosh Poimboeuf$(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build 647af3f3d5SWang Nan $(call rule_mkdir) 657af3f3d5SWang Nan $(Q)echo '#include <tests/llvm.h>' > $@ 667af3f3d5SWang Nan $(Q)echo 'const char test_llvm__bpf_test_kbuild_prog[] =' >> $@ 677af3f3d5SWang Nan $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ 687af3f3d5SWang Nan $(Q)echo ';' >> $@ 697af3f3d5SWang Nan 708bda6a63SJosh Poimboeuf$(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build 71bbb7d492SWang Nan $(call rule_mkdir) 72bbb7d492SWang Nan $(Q)echo '#include <tests/llvm.h>' > $@ 73bbb7d492SWang Nan $(Q)echo 'const char test_llvm__bpf_test_prologue_prog[] =' >> $@ 74bbb7d492SWang Nan $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ 75bbb7d492SWang Nan $(Q)echo ';' >> $@ 76bbb7d492SWang Nan 777b6982ceSWang Nan$(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build 787b6982ceSWang Nan $(call rule_mkdir) 797b6982ceSWang Nan $(Q)echo '#include <tests/llvm.h>' > $@ 807b6982ceSWang Nan $(Q)echo 'const char test_llvm__bpf_test_relocation[] =' >> $@ 817b6982ceSWang Nan $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ 827b6982ceSWang Nan $(Q)echo ';' >> $@ 837b6982ceSWang Nan 847a759cd8SJiada Wangifeq ($(SRCARCH),$(filter $(SRCARCH),x86 arm arm64 powerpc)) 85f39e042aSJiri Olsaperf-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o 86f39e042aSJiri Olsaendif 87f39e042aSJiri Olsa 88f39e042aSJiri OlsaCFLAGS_attr.o += -DBINDIR="BUILD_STR($(bindir_SQ))" -DPYTHON="BUILD_STR($(PYTHON_WORD))" 89f39e042aSJiri OlsaCFLAGS_python-use.o += -DPYTHONPATH="BUILD_STR($(OUTPUT)python)" -DPYTHON="BUILD_STR($(PYTHON_WORD))" 90f39e042aSJiri OlsaCFLAGS_dwarf-unwind.o += -fno-optimize-sibling-calls 91