KVM: arm64: Divorce the perf code from oprofile helpers
authorMarc Zyngier <maz@kernel.org>
Wed, 14 Apr 2021 13:44:05 +0000 (14:44 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 22 Apr 2021 12:32:39 +0000 (13:32 +0100)
commit5421db1be3b11c5e469cce3760d5c8a013a90f2c
treeb0fcead0cc12ca98d98c54c129560622448e9074
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
KVM: arm64: Divorce the perf code from oprofile helpers

KVM/arm64 is the sole user of perf_num_counters(), and really
could do without it. Stop using the obsolete API by relying on
the existing probing code.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210414134409.1266357-2-maz@kernel.org
arch/arm64/kvm/perf.c
arch/arm64/kvm/pmu-emul.c
include/kvm/arm_pmu.h