diff options
author | James Clark <james.clark@linaro.org> | 2024-08-02 11:52:55 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-08-05 16:54:47 +0200 |
commit | ea1992f36b894fe60cc3537a7f6a7af4087b999a (patch) | |
tree | 306d76916f40997f29fe849a7da9abafa930c0f6 | |
parent | aaad0e2aa50723969f96b690f72e2f4aefa433f2 (diff) |
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
-rw-r--r-- | arch/x86/events/intel/bts.c | 3 |
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); |