[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210414134409.1266357-1-maz@kernel.org>
Date: Wed, 14 Apr 2021 14:44:04 +0100
From: Marc Zyngier <maz@...nel.org>
To: kvm@...r.kernel.org, kvmarm@...ts.cs.columbia.edu,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-s390@...r.kernel.org, linux-sh@...r.kernel.org
Cc: Mark Rutland <mark.rutland@....com>, Will Deacon <will@...nel.org>,
Rich Felker <dalias@...c.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Peter Zijlstra <peterz@...radead.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Christian Borntraeger <borntraeger@...ibm.com>,
Heiko Carstens <hca@...ux.ibm.com>, nathan@...nel.org,
Viresh Kumar <viresh.kumar@...aro.org>,
James Morse <james.morse@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Alexandru Elisei <alexandru.elisei@....com>,
kernel-team@...roid.com
Subject: [PATCH 0/5] perf: oprofile spring cleanup
This small series builds on top of the work that was started with [1].
It recently became apparent that KVM/arm64 is the last bit of the
kernel that still uses perf_num_counters().
As I went ahead to address this, it became obvious that all traces of
oprofile had been eradicated from all architectures but arm64, s390
and sh (plus a bit of cruft in the core perf code). With KVM fixed,
perf_num_counters() and perf_pmu_name() are finally gone.
Thanks,
M.
[1] https://lore.kernel.org/lkml/20210215050618.hgftdmfmslbdrg3j@vireshk-i7
Marc Zyngier (5):
KVM: arm64: Divorce the perf code from oprofile helpers
arm64: Get rid of oprofile leftovers
s390: Get rid of oprofile leftovers
sh: Get rid of oprofile leftovers
perf: Get rid of oprofile leftovers
arch/arm64/kvm/perf.c | 7 +------
arch/arm64/kvm/pmu-emul.c | 2 +-
arch/s390/kernel/perf_event.c | 21 ---------------------
arch/sh/kernel/perf_event.c | 18 ------------------
drivers/perf/arm_pmu.c | 30 ------------------------------
include/kvm/arm_pmu.h | 4 ++++
include/linux/perf_event.h | 2 --
kernel/events/core.c | 5 -----
8 files changed, 6 insertions(+), 83 deletions(-)
--
2.29.2
Powered by blists - more mailing lists