• P
    perf_counter: More paranoia settings · 0764771d
    Peter Zijlstra 提交于
    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: NPeter 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: NIngo Molnar <mingo@elte.hu>
    0764771d
perf_counter.c 99.7 KB