diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-06-11 11:18:36 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-11 16:48:38 +0200 |
commit | 0764771dab80d7b84b9a271bee7f1b21a04a3f0c (patch) | |
tree | 36cb6400e257393208779a95b4868df2f9af6cf6 /kernel/kmod.c | |
parent | perf_counter: powerpc: Implement generalized cache events for POWER processors (diff) | |
download | linux-0764771dab80d7b84b9a271bee7f1b21a04a3f0c.tar.xz linux-0764771dab80d7b84b9a271bee7f1b21a04a3f0c.zip |
perf_counter: More paranoia settings
Rename the perf_counter_priv knob to perf_counter_paranoia (because
priv can be read as private, as opposed to privileged) and provide
one more level:
0 - permissive
1 - restrict cpu counters to privilidged contexts
2 - restrict kernel-mode code counting and profiling
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions