The following commit has been merged into the perf/core branch of tip: Commit-ID: ea1992f36b894fe60cc3537a7f6a7af4087b999a Gitweb: https://git.kernel.org/tip/ea1992f36b894fe60cc3537a7f6a7af4087b999a Author: James Clark <james.clark@xxxxxxxxxx> AuthorDate: Fri, 02 Aug 2024 11:52:55 +01:00 Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx> CommitterDate: Mon, 05 Aug 2024 16:54:47 +02:00 perf/x86/intel/bts: Fix comment about default perf_event_paranoid setting The default paranoid setting was updated in commit 0161028b7c8a ("perf/core: Change the default paranoia level to 2") so this comment is no longer true. Signed-off-by: James Clark <james.clark@xxxxxxxxxx> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Link: https://lkml.kernel.org/r/20240802105256.335961-1-james.clark@xxxxxxxxxx --- arch/x86/events/intel/bts.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/events/intel/bts.c b/arch/x86/events/intel/bts.c index 974e917..8f78b0c 100644 --- a/arch/x86/events/intel/bts.c +++ b/arch/x86/events/intel/bts.c @@ -557,9 +557,6 @@ static int bts_event_init(struct perf_event *event) * disabled, so disallow intel_bts driver for unprivileged * users on paranoid systems since it provides trace data * to the user in a zero-copy fashion. - * - * Note that the default paranoia setting permits unprivileged - * users to profile the kernel. */ if (event->attr.exclude_kernel) { ret = perf_allow_kernel(&event->attr);