Jiri Olsa | f39e042 | 2014-12-29 15:03:09 +0100 | [diff] [blame] | 1 | perf-y += builtin-test.o |
| 2 | perf-y += parse-events.o |
| 3 | perf-y += dso-data.o |
| 4 | perf-y += attr.o |
| 5 | perf-y += vmlinux-kallsyms.o |
Riku Voipio | fbb2df2 | 2015-05-29 12:36:11 -0300 | [diff] [blame] | 6 | perf-y += openat-syscall.o |
| 7 | perf-y += openat-syscall-all-cpus.o |
| 8 | perf-y += openat-syscall-tp-fields.o |
Jiri Olsa | f39e042 | 2014-12-29 15:03:09 +0100 | [diff] [blame] | 9 | perf-y += mmap-basic.o |
| 10 | perf-y += perf-record.o |
Jiri Olsa | f39e042 | 2014-12-29 15:03:09 +0100 | [diff] [blame] | 11 | perf-y += evsel-roundtrip-name.o |
| 12 | perf-y += evsel-tp-sched.o |
| 13 | perf-y += fdarray.o |
| 14 | perf-y += pmu.o |
| 15 | perf-y += hists_common.o |
| 16 | perf-y += hists_link.o |
| 17 | perf-y += hists_filter.o |
| 18 | perf-y += hists_output.o |
| 19 | perf-y += hists_cumulate.o |
| 20 | perf-y += python-use.o |
| 21 | perf-y += bp_signal.o |
| 22 | perf-y += bp_signal_overflow.o |
| 23 | perf-y += task-exit.o |
| 24 | perf-y += sw-clock.o |
| 25 | perf-y += mmap-thread-lookup.o |
| 26 | perf-y += thread-mg-share.o |
| 27 | perf-y += switch-tracking.o |
| 28 | perf-y += keep-tracking.o |
| 29 | perf-y += code-reading.o |
| 30 | perf-y += sample-parsing.o |
| 31 | perf-y += parse-no-sample-id-all.o |
Jiri Olsa | 3c8a67f | 2015-02-05 15:40:25 +0100 | [diff] [blame] | 32 | perf-y += kmod-path.o |
Jiri Olsa | 134aa44 | 2015-06-26 11:29:08 +0200 | [diff] [blame] | 33 | perf-y += thread-map.o |
Wang Nan | bbb7d49 | 2015-11-16 12:10:14 +0000 | [diff] [blame] | 34 | perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o |
Wang Nan | ba1fae4 | 2015-11-06 13:49:43 +0000 | [diff] [blame] | 35 | perf-y += bpf.o |
Kan Liang | c84974e | 2015-09-04 04:58:31 -0400 | [diff] [blame] | 36 | perf-y += topology.o |
Jiri Olsa | f39e042 | 2014-12-29 15:03:09 +0100 | [diff] [blame] | 37 | |
Wang Nan | b31de01 | 2015-11-06 13:49:41 +0000 | [diff] [blame] | 38 | $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c |
| 39 | $(call rule_mkdir) |
| 40 | $(Q)echo '#include <tests/llvm.h>' > $@ |
| 41 | $(Q)echo 'const char test_llvm__bpf_base_prog[] =' >> $@ |
| 42 | $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ |
| 43 | $(Q)echo ';' >> $@ |
| 44 | |
Wang Nan | 7af3f3d | 2015-11-06 13:49:42 +0000 | [diff] [blame] | 45 | $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c |
| 46 | $(call rule_mkdir) |
| 47 | $(Q)echo '#include <tests/llvm.h>' > $@ |
| 48 | $(Q)echo 'const char test_llvm__bpf_test_kbuild_prog[] =' >> $@ |
| 49 | $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ |
| 50 | $(Q)echo ';' >> $@ |
| 51 | |
Wang Nan | bbb7d49 | 2015-11-16 12:10:14 +0000 | [diff] [blame] | 52 | $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c |
| 53 | $(call rule_mkdir) |
| 54 | $(Q)echo '#include <tests/llvm.h>' > $@ |
| 55 | $(Q)echo 'const char test_llvm__bpf_test_prologue_prog[] =' >> $@ |
| 56 | $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ |
| 57 | $(Q)echo ';' >> $@ |
| 58 | |
Wang Nan | 3237f281 | 2015-03-27 13:08:01 +0000 | [diff] [blame] | 59 | ifeq ($(ARCH),$(filter $(ARCH),x86 arm arm64)) |
Jiri Olsa | f39e042 | 2014-12-29 15:03:09 +0100 | [diff] [blame] | 60 | perf-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o |
| 61 | endif |
| 62 | |
| 63 | CFLAGS_attr.o += -DBINDIR="BUILD_STR($(bindir_SQ))" -DPYTHON="BUILD_STR($(PYTHON_WORD))" |
| 64 | CFLAGS_python-use.o += -DPYTHONPATH="BUILD_STR($(OUTPUT)python)" -DPYTHON="BUILD_STR($(PYTHON_WORD))" |
| 65 | CFLAGS_dwarf-unwind.o += -fno-optimize-sibling-calls |