xref: /openbmc/linux/tools/perf/tests/Build (revision 5029615e)
1perf-y += builtin-test.o
2perf-y += parse-events.o
3perf-y += dso-data.o
4perf-y += attr.o
5perf-y += vmlinux-kallsyms.o
6perf-y += openat-syscall.o
7perf-y += openat-syscall-all-cpus.o
8perf-y += openat-syscall-tp-fields.o
9perf-y += mmap-basic.o
10perf-y += perf-record.o
11perf-y += rdpmc.o
12perf-y += evsel-roundtrip-name.o
13perf-y += evsel-tp-sched.o
14perf-y += fdarray.o
15perf-y += pmu.o
16perf-y += hists_common.o
17perf-y += hists_link.o
18perf-y += hists_filter.o
19perf-y += hists_output.o
20perf-y += hists_cumulate.o
21perf-y += python-use.o
22perf-y += bp_signal.o
23perf-y += bp_signal_overflow.o
24perf-y += task-exit.o
25perf-y += sw-clock.o
26perf-y += mmap-thread-lookup.o
27perf-y += thread-mg-share.o
28perf-y += switch-tracking.o
29perf-y += keep-tracking.o
30perf-y += code-reading.o
31perf-y += sample-parsing.o
32perf-y += parse-no-sample-id-all.o
33perf-y += kmod-path.o
34perf-y += thread-map.o
35perf-y += llvm.o
36
37perf-$(CONFIG_X86) += perf-time-to-tsc.o
38
39ifeq ($(ARCH),$(filter $(ARCH),x86 arm arm64))
40perf-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o
41endif
42
43CFLAGS_attr.o         += -DBINDIR="BUILD_STR($(bindir_SQ))" -DPYTHON="BUILD_STR($(PYTHON_WORD))"
44CFLAGS_python-use.o   += -DPYTHONPATH="BUILD_STR($(OUTPUT)python)" -DPYTHON="BUILD_STR($(PYTHON_WORD))"
45CFLAGS_dwarf-unwind.o += -fno-optimize-sibling-calls
46