summaryrefslogtreecommitdiffstats
path: root/arch/x86/events
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2024-08-02 12:52:55 +0200
committerPeter Zijlstra <peterz@infradead.org>2024-08-05 16:54:47 +0200
commitea1992f36b894fe60cc3537a7f6a7af4087b999a (patch)
tree306d76916f40997f29fe849a7da9abafa930c0f6 /arch/x86/events
parentperf/x86/intel/uncore: Use D0:F0 as a default device (diff)
downloadlinux-ea1992f36b894fe60cc3537a7f6a7af4087b999a.tar.xz
linux-ea1992f36b894fe60cc3537a7f6a7af4087b999a.zip
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@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20240802105256.335961-1-james.clark@linaro.org
Diffstat (limited to 'arch/x86/events')
-rw-r--r--arch/x86/events/intel/bts.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/events/intel/bts.c b/arch/x86/events/intel/bts.c
index 974e917e65b2..8f78b0c900ef 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);