perf: Drop dead and useless guest "support" from arm, csky, nds32 and riscv
authorSean Christopherson <seanjc@google.com>
Thu, 11 Nov 2021 02:07:26 +0000 (02:07 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 17 Nov 2021 13:49:07 +0000 (14:49 +0100)
commit84af21d850ee1ccc990df37dd47c13fdfe93be75
treede27bb3efbd80db3c75cc16ee3fdf7b4883d3652
parent2934e3d09350c1a7ca2433fbeabfcd831e48a575
perf: Drop dead and useless guest "support" from arm, csky, nds32 and riscv

Drop "support" for guest callbacks from architectures that don't implement
the guest callbacks.  Future patches will convert the callbacks to
static_call; rather than churn a bunch of arch code (that was presumably
copy+pasted from x86), remove it wholesale as it's useless and at best
wasting cycles.

A future patch will also add a Kconfig to force architcture to opt into
the callbacks to make it more difficult for uses "support" to sneak in in
the future.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20211111020738.2512932-6-seanjc@google.com
arch/arm/kernel/perf_callchain.c
arch/csky/kernel/perf_callchain.c
arch/nds32/kernel/perf_event_cpu.c
arch/riscv/kernel/perf_callchain.c