Re: [PATCH] perf/core: introduced stub APIs for exported APIs

From: Peter Zijlstra
Date: Mon Mar 06 2023 - 06:45:56 EST


On Sun, Mar 05, 2023 at 02:57:59PM +0530, Manish Bhardwaj wrote:
> Introduced stub APIs for exported APIs so that we can build
> independent module without any error if CONFIG_PERF_EVENT
> feature is disabled in kernel.

WTH would you build these drivers when PERF_EVENT=n ?!?