diff options
author | 2011-06-04 12:28:05 +0200 | |
---|---|---|
committer | 2011-06-04 12:28:05 +0200 | |
commit | 3ce2a0bc9dfb6423491afe0afc9f099e24b8cba4 (patch) | |
tree | 58fbef582846fef0e777b1a552aca12e21a071b1 /kernel/sysctl.c | |
parent | Merge branch 'perf/core' of ssh://k/pub/scm/linux/kernel/git/acme/linux into perf/core (diff) | |
parent | perf: Comment /proc/sys/kernel/perf_event_paranoid to be part of user ABI (diff) | |
download | wireguard-linux-3ce2a0bc9dfb6423491afe0afc9f099e24b8cba4.tar.xz wireguard-linux-3ce2a0bc9dfb6423491afe0afc9f099e24b8cba4.zip |
Merge branch 'perf/urgent' into perf/core
Conflicts:
tools/perf/util/python.c
Merge reason: resolve the conflict with perf/urgent.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 4fc92445a29c..f175d98bd355 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -938,6 +938,12 @@ static struct ctl_table kern_table[] = { }, #endif #ifdef CONFIG_PERF_EVENTS + /* + * 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, |