summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf/Makefile
diff options
context:
space:
mode:
authorVaibhav Jain <vaibhav@linux.ibm.com>2025-04-16 21:57:34 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2025-04-16 22:16:09 +0530
commitff45bf50ccbbd6d799a8e77e4cde890b6f9ef9f5 (patch)
tree90e18081c057bfd09e60a4777b8d022fc1c8a630 /arch/powerpc/perf/Makefile
parent1f35ad2b938ca8e4090250a849021fa000263427 (diff)
kvm powerpc/book3s-apiv2: Introduce kvm-hv specific PMU
Introduce a new PMU named 'kvm-hv' inside a new module named 'kvm-hv-pmu' to report Book3s kvm-hv specific performance counters. This will expose KVM-HV specific performance attributes to user-space via kernel's PMU infrastructure and would enableusers to monitor active kvm-hv based guests. The patch creates necessary scaffolding to for the new PMU callbacks and introduces the new kernel module name 'kvm-hv-pmu' which is built with CONFIG_KVM_BOOK3S_HV_PMU. The patch doesn't introduce any perf-events yet, which will be introduced in later patches Signed-off-by: Vaibhav Jain <vaibhav@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250416162740.93143-5-vaibhav@linux.ibm.com
Diffstat (limited to 'arch/powerpc/perf/Makefile')
-rw-r--r--arch/powerpc/perf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/perf/Makefile b/arch/powerpc/perf/Makefile
index ac2cf58d62db..7f53fcb7495a 100644
--- a/arch/powerpc/perf/Makefile
+++ b/arch/powerpc/perf/Makefile
@@ -18,6 +18,8 @@ obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o
obj-$(CONFIG_VPA_PMU) += vpa-pmu.o
+obj-$(CONFIG_KVM_BOOK3S_HV_PMU) += kvm-hv-pmu.o
+
obj-$(CONFIG_PPC_8xx) += 8xx-pmu.o
obj-$(CONFIG_PPC64) += $(obj64-y)