Re: [PATCH v3 06/16] perf/core: Rework guest callbacks to prepare for static_call support

Paolo Bonzini
2021-09-22T06:29:02Z

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@redhat.com>