Re: [PATCH v2] x86/perf: Use static_call for x86_pmu.guest_get_msrs

From: Peter Zijlstra
Date: Tue Jan 26 2021 - 00:40:29 EST


On Fri, Jan 22, 2021 at 11:03:24AM +0800, Like Xu wrote:
> Clean up that CONFIG_RETPOLINE crud and replace the
> indirect call x86_pmu.guest_get_msrs with static_call().
>

Looks good in principle, but the robot complains about a missing func
decl. I think you removed a little too much when you killed the inline
thing.