1# SPDX-License-Identifier: GPL-2.0 2 3obj-$(CONFIG_PERF_EVENTS) += callchain.o callchain_$(BITS).o perf_regs.o 4ifdef CONFIG_COMPAT 5obj-$(CONFIG_PERF_EVENTS) += callchain_32.o 6endif 7 8obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o 9obj64-$(CONFIG_PPC_PERF_CTRS) += ppc970-pmu.o power5-pmu.o \ 10 power5+-pmu.o power6-pmu.o power7-pmu.o \ 11 isa207-common.o power8-pmu.o power9-pmu.o \ 12 generic-compat-pmu.o power10-pmu.o 13obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o 14 15obj-$(CONFIG_PPC_POWERNV) += imc-pmu.o 16obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o 17obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o 18 19obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o 20 21obj-$(CONFIG_PPC_8xx) += 8xx-pmu.o 22 23obj-$(CONFIG_PPC64) += $(obj64-y) 24obj-$(CONFIG_PPC32) += $(obj32-y) 25