| -1 | Allow use of (almost) all events by all users. Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK |
| >= 0 | Disallow raw and ftrace function tracepoint access |
| >= 1 | Disallow CPU event access |
| >= 2 | Disallow kernel profiling |
$ echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid $ perf stat ls $ perf stat -e instructions ls