Skip to content
  • Peter Zijlstra's avatar
    perf_counter: More paranoia settings · 0764771d
    Peter Zijlstra authored
    
    
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@elte.hu>
    0764771d