1 perf-bench-y += builtin-bench.o !! 1 perf-y += builtin-bench.o 2 perf-y += builtin-annotate.o 2 perf-y += builtin-annotate.o 3 perf-y += builtin-check.o << 4 perf-y += builtin-config.o 3 perf-y += builtin-config.o 5 perf-y += builtin-diff.o 4 perf-y += builtin-diff.o 6 perf-y += builtin-evlist.o 5 perf-y += builtin-evlist.o 7 perf-y += builtin-ftrace.o 6 perf-y += builtin-ftrace.o 8 perf-y += builtin-help.o 7 perf-y += builtin-help.o >> 8 perf-y += builtin-sched.o 9 perf-y += builtin-buildid-list.o 9 perf-y += builtin-buildid-list.o 10 perf-y += builtin-buildid-cache.o 10 perf-y += builtin-buildid-cache.o 11 perf-y += builtin-kallsyms.o 11 perf-y += builtin-kallsyms.o 12 perf-y += builtin-list.o 12 perf-y += builtin-list.o 13 perf-y += builtin-record.o 13 perf-y += builtin-record.o 14 perf-y += builtin-report.o 14 perf-y += builtin-report.o 15 perf-y += builtin-stat.o 15 perf-y += builtin-stat.o >> 16 perf-y += builtin-timechart.o 16 perf-y += builtin-top.o 17 perf-y += builtin-top.o 17 perf-y += builtin-script.o 18 perf-y += builtin-script.o >> 19 perf-y += builtin-kmem.o >> 20 perf-y += builtin-lock.o 18 perf-y += builtin-kvm.o 21 perf-y += builtin-kvm.o 19 perf-y += builtin-inject.o 22 perf-y += builtin-inject.o 20 perf-y += builtin-mem.o 23 perf-y += builtin-mem.o 21 perf-y += builtin-data.o 24 perf-y += builtin-data.o 22 perf-y += builtin-version.o 25 perf-y += builtin-version.o 23 perf-y += builtin-c2c.o 26 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. << 28 perf-$(CONFIG_LIBTRACEEVENT) += builtin-lock.o << 29 perf-$(CONFIG_LIBTRACEEVENT) += builtin-sched. << 30 perf-$(CONFIG_LIBTRACEEVENT) += builtin-timech << 31 << 32 ifeq ($(CONFIG_LIBTRACEEVENT),y) << 33 perf-$(CONFIG_TRACE) += builtin-trace.o << 34 perf-$(CONFIG_TRACE) += trace/beauty/ << 35 endif << 36 27 >> 28 perf-$(CONFIG_TRACE) += builtin-trace.o 37 perf-$(CONFIG_LIBELF) += builtin-probe.o 29 perf-$(CONFIG_LIBELF) += builtin-probe.o 38 30 39 perf-bench-y += bench/ !! 31 perf-y += bench/ 40 perf-test-y += tests/ !! 32 perf-y += tests/ 41 33 42 perf-y += perf.o 34 perf-y += perf.o 43 35 44 paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir 36 paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" 45 paths += -DPERF_INFO_PATH="BUILD_STR($(infodir 37 paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))" 46 paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_S 38 paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))" 47 39 48 CFLAGS_builtin-help.o += $(paths) 40 CFLAGS_builtin-help.o += $(paths) 49 CFLAGS_builtin-timechart.o += $(paths) 41 CFLAGS_builtin-timechart.o += $(paths) 50 CFLAGS_perf.o += -DPERF_HTML_PATH 42 CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \ 51 -DPERF_EXEC_PATH 43 -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \ 52 -DPREFIX="BUILD_ 44 -DPREFIX="BUILD_STR($(prefix_SQ))" 53 CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_ 45 CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))" 54 CFLAGS_builtin-report.o += -DTIPDIR="BUILD_ 46 CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))" 55 CFLAGS_builtin-report.o += -DDOCDIR="BUILD_ 47 CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)" 56 48 57 perf-util-y += util/ !! 49 libperf-y += util/ 58 perf-util-y += arch/ !! 50 libperf-y += arch/ 59 perf-y += arch/ !! 51 libperf-y += ui/ 60 perf-test-y += arch/ !! 52 libperf-y += scripts/ 61 perf-ui-y += ui/ !! 53 libperf-$(CONFIG_TRACE) += trace/beauty/ 62 perf-util-y += scripts/ << 63 54 64 gtk-y += ui/gtk/ 55 gtk-y += ui/gtk/ 65 << 66 ifdef SHELLCHECK << 67 SHELL_TESTS := $(wildcard *.sh) << 68 TEST_LOGS := $(SHELL_TESTS:%=%.shellcheck_lo << 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 << 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.