Re: [PATCH v2 05/13] perf: Force architectures to opt-in to guest callbacks

From: Peter Zijlstra
Date: Sat Aug 28 2021 - 15:50:45 EST


On Fri, Aug 27, 2021 at 05:35:50PM -0700, Sean Christopherson wrote:
> diff --git a/init/Kconfig b/init/Kconfig
> index 55f9f7738ebb..9ef51ae53977 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -1776,6 +1776,9 @@ config HAVE_PERF_EVENTS
> help
> See tools/perf/design.txt for details.
>
> +config HAVE_GUEST_PERF_EVENTS
> + bool
depends on HAVE_KVM

?

> +
> config PERF_USE_VMALLOC
> bool
> help