diff options
author | Ingo Molnar <[email protected]> | 2009-09-13 17:33:44 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-09-13 17:33:44 +0200 |
commit | 459ec28ab404d7afcd512ce9b855959ad301605a (patch) | |
tree | 5c17a0f919242bafffd29cea65a62139a34c2aeb /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 1fc35b29b4098aa3bf9fc9acb4c1615d0b5dd95d (diff) |
perf_counter: Allow mmap if paranoid checks are turned off
Before:
$ perf sched record -f sleep 1
Error: failed to mmap with 1 (Operation not permitted)
After:
$ perf sched record -f sleep 1
[ perf record: Captured and wrote 0.095 MB perf.data (~4161 samples) ]
Note, this is only allowed if perfcounter_paranoid is set to
the most permissive (non-default) value of -1.
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions