Re: [PATCH] perf/core: Add macros for possible sysctl_perf_event_paranoid values

From: Peter Zijlstra
Date: Mon Jul 11 2022 - 08:19:53 EST


On Mon, Jul 11, 2022 at 02:55:12PM +0530, Anshuman Khandual wrote:
> Enumerating [-1, 0, 1, 2] paranoid range values in kernel too, does not add
> much value as well ?

That's what the user-interface requires as well. How is obscuring the
values the user has to explicitly poke in help things?