Re: [PATCH v3 07/16] perf: Add wrappers for invoking guest callbacks

2021-09-22 Thread Paolo Bonzini
On 22/09/21 02:05, Sean Christopherson wrote: Add helpers for the guest callbacks to prepare for burying the callbacks behind a Kconfig (it's a lot easier to provide a few stubs than to #ifdef piles of code), and also to prepare for converting the callbacks to static_call().

[PATCH v3 07/16] perf: Add wrappers for invoking guest callbacks

2021-09-21 Thread Sean Christopherson
Add helpers for the guest callbacks to prepare for burying the callbacks behind a Kconfig (it's a lot easier to provide a few stubs than to #ifdef piles of code), and also to prepare for converting the callbacks to static_call(). perf_instruction_pointer() in particular will have subtle semantics