1perf-$(CONFIG_DWARF_UNWIND) += regs_load.o 2perf-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o 3 4perf-y += arch-tests.o 5perf-y += sample-parsing.o 6perf-y += hybrid.o 7perf-$(CONFIG_AUXTRACE) += intel-pt-test.o 8ifeq ($(CONFIG_EXTRA_TESTS),y) 9perf-$(CONFIG_AUXTRACE) += insn-x86.o 10endif 11perf-$(CONFIG_X86_64) += bp-modify.o 12perf-y += amd-ibs-via-core-pmu.o 13 14ifdef SHELLCHECK 15 SHELL_TESTS := gen-insn-x86-dat.sh 16 TEST_LOGS := $(SHELL_TESTS:%=%.shellcheck_log) 17else 18 SHELL_TESTS := 19 TEST_LOGS := 20endif 21 22$(OUTPUT)%.shellcheck_log: % 23 $(call rule_mkdir) 24 $(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ && rm $@ && false) 25 26perf-y += $(TEST_LOGS) 27