]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - kernel/sysctl.c
perf_counter: sysctl for system wide perf counters
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 9 Apr 2009 08:53:45 +0000 (10:53 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Apr 2009 09:50:52 +0000 (11:50 +0200)
commit1ccd15497869f3ed83b5225d410df53a96e52757
tree67c475136503f53c2b2d9d9ada1c281aef0a162b
parent9ee318a7825929bc3734110b83ae8e20e53d9de3
perf_counter: sysctl for system wide perf counters

Impact: add sysctl for paranoid/relaxed perfcounters policy

Allow the use of system wide perf counters to everybody, but provide
a sysctl to disable it for the paranoid security minded.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <20090409085524.514046352@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c
kernel/sysctl.c