perf-y += header.o
perf-y += machine.o
perf-y += perf_regs.o
perf-y += tsc.o
perf-y += pmu.o
perf-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o
perf-$(CONFIG_DWARF)     += dwarf-regs.o
perf-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o
perf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o

perf-$(CONFIG_AUXTRACE) += ../../arm/util/pmu.o \
			      ../../arm/util/auxtrace.o \
			      ../../arm/util/cs-etm.o \
			      arm-spe.o mem-events.o hisi-ptt.o