[PATCH v3 06/16] perf/core: Rework guest callbacks to prepare for static_call support
Paolo Bonzini
pbonzini at redhat.com
Tue Sep 21 23:28:52 PDT 2021
On 22/09/21 02:05, Sean Christopherson wrote:
> To prepare for using static_calls to optimize perf's guest callbacks,
> replace ->is_in_guest and ->is_user_mode with a new multiplexed hook
> ->state, tweak ->handle_intel_pt_intr to play nice with being called when
> there is no active guest, and drop "guest" from ->is_in_guest.
... from ->get_guest_ip. Code-wise,
Reviewed-by: Paolo Bonzini <pbonzini at redhat.com>
More information about the linux-riscv
mailing list