Commit aa4a2218 authored by Vince Weaver's avatar Vince Weaver Committed by Ingo Molnar

perf: Comment /proc/sys/kernel/perf_event_paranoid to be part of user ABI

Turns out that distro packages use this file as an indicator of
the perf event subsystem - this is easier to check for from scripts
than the existence of the system call.

This is easy enough to keep around for the kernel, so add a
comment to make sure it stays so.
Signed-off-by: default avatarVince Weaver <>
Cc: David Ahern <>
Cc: Peter Zijlstra <>
Cc: Linus Torvalds <>
Cc: Andrew Morton <>
Link: default avatarIngo Molnar <>
parent 710054ba
......@@ -938,6 +938,12 @@ static struct ctl_table kern_table[] = {
* User-space scripts rely on the existence of this file
* as a feature check for perf_events being enabled.
* So it's an ABI, do not remove!
.procname = "perf_event_paranoid",
.data = &sysctl_perf_event_paranoid,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment