1 perf-bench-y += builtin-bench.o 2 perf-y += builtin-annotate.o 3 perf-y += builtin-check.o 4 perf-y += builtin-config.o 5 perf-y += builtin-diff.o 6 perf-y += builtin-evlist.o 7 perf-y += builtin-ftrace.o 8 perf-y += builtin-help.o 9 perf-y += builtin-buildid-list.o 10 perf-y += builtin-buildid-cache.o 11 perf-y += builtin-kallsyms.o 12 perf-y += builtin-list.o 13 perf-y += builtin-record.o 14 perf-y += builtin-report.o 15 perf-y += builtin-stat.o 16 perf-y += builtin-top.o 17 perf-y += builtin-script.o 18 perf-y += builtin-kvm.o 19 perf-y += builtin-inject.o 20 perf-y += builtin-mem.o 21 perf-y += builtin-data.o 22 perf-y += builtin-version.o 23 perf-y += builtin-c2c.o 24 perf-y += builtin-daemon.o 25 26 perf-$(CONFIG_LIBTRACEEVENT) += builtin-kmem.o 27 perf-$(CONFIG_LIBTRACEEVENT) += builtin-kwork.o 28 perf-$(CONFIG_LIBTRACEEVENT) += builtin-lock.o 29 perf-$(CONFIG_LIBTRACEEVENT) += builtin-sched.o 30 perf-$(CONFIG_LIBTRACEEVENT) += builtin-timechart.o 31 32 ifeq ($(CONFIG_LIBTRACEEVENT),y) 33 perf-$(CONFIG_TRACE) += builtin-trace.o 34 perf-$(CONFIG_TRACE) += trace/beauty/ 35 endif 36 37 perf-$(CONFIG_LIBELF) += builtin-probe.o 38 39 perf-bench-y += bench/ 40 perf-test-y += tests/ 41 42 perf-y += perf.o 43 44 paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" 45 paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))" 46 paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))" 47 48 CFLAGS_builtin-help.o += $(paths) 49 CFLAGS_builtin-timechart.o += $(paths) 50 CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \ 51 -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \ 52 -DPREFIX="BUILD_STR($(prefix_SQ))" 53 CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))" 54 CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))" 55 CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)" 56 57 perf-util-y += util/ 58 perf-util-y += arch/ 59 perf-y += arch/ 60 perf-test-y += arch/ 61 perf-ui-y += ui/ 62 perf-util-y += scripts/ 63 64 gtk-y += ui/gtk/ 65 66 ifdef SHELLCHECK 67 SHELL_TESTS := $(wildcard *.sh) 68 TEST_LOGS := $(SHELL_TESTS:%=%.shellcheck_log) 69 else 70 SHELL_TESTS := 71 TEST_LOGS := 72 endif 73 74 $(OUTPUT)%.shellcheck_log: % 75 $(call rule_mkdir) 76 $(Q)$(call echo-cmd,test)shellcheck -s bash -a -S warning "$<" > $@ || (cat $@ && rm $@ && false) 77 78 perf-y += $(TEST_LOGS)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.