1 # SPDX-License-Identifier: GPL-2.0 2 3 perf-test-y += builtin-test.o 4 perf-test-y += tests-scripts.o 5 perf-test-y += parse-events.o 6 perf-test-y += dso-data.o 7 perf-test-y += attr.o 8 perf-test-y += vmlinux-kallsyms.o 9 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-sy 10 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-sy 11 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-sy 12 perf-test-$(CONFIG_LIBTRACEEVENT) += mmap-basi 13 perf-test-y += perf-record.o 14 perf-test-y += evsel-roundtrip-name.o 15 perf-test-$(CONFIG_LIBTRACEEVENT) += evsel-tp- 16 perf-test-y += fdarray.o 17 perf-test-y += pmu.o 18 perf-test-y += pmu-events.o 19 perf-test-y += hists_common.o 20 perf-test-y += hists_link.o 21 perf-test-y += hists_filter.o 22 perf-test-y += hists_output.o 23 perf-test-y += hists_cumulate.o 24 perf-test-y += python-use.o 25 perf-test-y += bp_signal.o 26 perf-test-y += bp_signal_overflow.o 27 perf-test-y += bp_account.o 28 perf-test-y += wp.o 29 perf-test-y += task-exit.o 30 perf-test-y += sw-clock.o 31 perf-test-y += mmap-thread-lookup.o 32 perf-test-y += thread-maps-share.o 33 perf-test-$(CONFIG_LIBTRACEEVENT) += switch-tr 34 perf-test-y += keep-tracking.o 35 perf-test-y += code-reading.o 36 perf-test-y += sample-parsing.o 37 perf-test-y += parse-no-sample-id-all.o 38 perf-test-y += kmod-path.o 39 perf-test-y += thread-map.o 40 perf-test-y += topology.o 41 perf-test-y += mem.o 42 perf-test-y += cpumap.o 43 perf-test-y += stat.o 44 perf-test-y += event_update.o 45 perf-test-y += event-times.o 46 perf-test-y += expr.o 47 perf-test-y += backward-ring-buffer.o 48 perf-test-y += sdt.o 49 perf-test-y += is_printable_array.o 50 perf-test-y += bitmap.o 51 perf-test-y += perf-hooks.o 52 perf-test-y += unit_number__scnprintf.o 53 perf-test-y += mem2node.o 54 perf-test-y += maps.o 55 perf-test-y += time-utils-test.o 56 perf-test-y += genelf.o 57 perf-test-y += api-io.o 58 perf-test-y += demangle-java-test.o 59 perf-test-y += demangle-ocaml-test.o 60 perf-test-y += pfm.o 61 perf-test-y += parse-metric.o 62 perf-test-y += pe-file-parsing.o 63 perf-test-y += expand-cgroup.o 64 perf-test-y += perf-time-to-tsc.o 65 perf-test-y += dlfilter-test.o 66 perf-test-y += sigtrap.o 67 perf-test-y += event_groups.o 68 perf-test-y += symbols.o 69 perf-test-y += util.o 70 71 ifeq ($(SRCARCH),$(filter $(SRCARCH),x86 arm a 72 perf-test-$(CONFIG_DWARF_UNWIND) += dwarf-unwi 73 endif 74 75 CFLAGS_attr.o += -DBINDIR="BUILD_STR($ 76 CFLAGS_python-use.o += -DPYTHONPATH="BUILD_S 77 CFLAGS_dwarf-unwind.o += -fno-optimize-sibling 78 79 perf-test-y += workloads/ 80 81 ifdef SHELLCHECK 82 SHELL_TESTS := $(shell find tests/shell -exe 83 TEST_LOGS := $(SHELL_TESTS:tests/shell/%=she 84 else 85 SHELL_TESTS := 86 TEST_LOGS := 87 endif 88 89 $(OUTPUT)%.shellcheck_log: % 90 $(call rule_mkdir) 91 $(Q)$(call echo-cmd,test)shellcheck -a 92 93 perf-test-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.