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 | 7b6982c | 2016-01-25 09:55:48 +0000 | [diff] [blame] | 34 | perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.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 | 6c87290 | 2015-10-25 15:51:24 +0100 | [diff] [blame] | 37 | perf-y += cpumap.o |
Jiri Olsa | 6742434 | 2015-10-25 15:51:28 +0100 | [diff] [blame] | 38 | perf-y += stat.o |
Jiri Olsa | a6e5281 | 2015-10-25 15:51:37 +0100 | [diff] [blame] | 39 | perf-y += event_update.o |
Jiri Olsa | b31d660 | 2016-03-24 13:52:20 +0100 | [diff] [blame] | 40 | perf-y += event-times.o |
Wang Nan | ee74701 | 2016-05-09 01:47:51 +0000 | [diff] [blame] | 41 | perf-y += backward-ring-buffer.o |
Masami Hiramatsu | 8e5dc84 | 2016-07-12 19:06:05 +0900 | [diff] [blame] | 42 | perf-y += sdt.o |
Jiri Olsa | 988dd77 | 2016-07-16 18:11:20 +0200 | [diff] [blame] | 43 | perf-y += is_printable_array.o |
Jiri Olsa | ff3e33b | 2016-08-01 20:02:32 +0200 | [diff] [blame] | 44 | perf-y += bitmap.o |
Jiri Olsa | f39e042 | 2014-12-29 15:03:09 +0100 | [diff] [blame] | 45 | |
Josh Poimboeuf | 8bda6a6 | 2015-12-13 22:18:03 -0600 | [diff] [blame] | 46 | $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build |
Wang Nan | b31de01 | 2015-11-06 13:49:41 +0000 | [diff] [blame] | 47 | $(call rule_mkdir) |
| 48 | $(Q)echo '#include <tests/llvm.h>' > $@ |
| 49 | $(Q)echo 'const char test_llvm__bpf_base_prog[] =' >> $@ |
| 50 | $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ |
| 51 | $(Q)echo ';' >> $@ |
| 52 | |
Josh Poimboeuf | 8bda6a6 | 2015-12-13 22:18:03 -0600 | [diff] [blame] | 53 | $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build |
Wang Nan | 7af3f3d | 2015-11-06 13:49:42 +0000 | [diff] [blame] | 54 | $(call rule_mkdir) |
| 55 | $(Q)echo '#include <tests/llvm.h>' > $@ |
| 56 | $(Q)echo 'const char test_llvm__bpf_test_kbuild_prog[] =' >> $@ |
| 57 | $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ |
| 58 | $(Q)echo ';' >> $@ |
| 59 | |
Josh Poimboeuf | 8bda6a6 | 2015-12-13 22:18:03 -0600 | [diff] [blame] | 60 | $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build |
Wang Nan | bbb7d49 | 2015-11-16 12:10:14 +0000 | [diff] [blame] | 61 | $(call rule_mkdir) |
| 62 | $(Q)echo '#include <tests/llvm.h>' > $@ |
| 63 | $(Q)echo 'const char test_llvm__bpf_test_prologue_prog[] =' >> $@ |
| 64 | $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ |
| 65 | $(Q)echo ';' >> $@ |
| 66 | |
Wang Nan | 7b6982c | 2016-01-25 09:55:48 +0000 | [diff] [blame] | 67 | $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build |
| 68 | $(call rule_mkdir) |
| 69 | $(Q)echo '#include <tests/llvm.h>' > $@ |
| 70 | $(Q)echo 'const char test_llvm__bpf_test_relocation[] =' >> $@ |
| 71 | $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ |
| 72 | $(Q)echo ';' >> $@ |
| 73 | |
Jiada Wang | 9792f9b | 2017-04-09 20:02:37 -0700 | [diff] [blame] | 74 | ifeq ($(SRCARCH),$(filter $(SRCARCH),x86 arm arm64 powerpc)) |
Jiri Olsa | f39e042 | 2014-12-29 15:03:09 +0100 | [diff] [blame] | 75 | perf-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o |
| 76 | endif |
| 77 | |
| 78 | CFLAGS_attr.o += -DBINDIR="BUILD_STR($(bindir_SQ))" -DPYTHON="BUILD_STR($(PYTHON_WORD))" |
| 79 | CFLAGS_python-use.o += -DPYTHONPATH="BUILD_STR($(OUTPUT)python)" -DPYTHON="BUILD_STR($(PYTHON_WORD))" |
| 80 | CFLAGS_dwarf-unwind.o += -fno-optimize-sibling-calls |