perf_event_open.2: Document new perf_event_paranoid default

Signed-off-by: Jann Horn <jann@thejh.net>
This commit is contained in:
Jann Horn 2016-07-06 11:43:53 +02:00 committed by Michael Kerrisk
parent 4dc411ddbd
commit 3eb9519282
1 changed files with 3 additions and 2 deletions

View File

@ -2752,14 +2752,15 @@ Files in
.TP
.I /proc/sys/kernel/perf_event_paranoid
.\" default changed in commit 0161028b7c8aebef64194d3d73e43bc3b53b5c66
The
.I perf_event_paranoid
file can be set to restrict access to the performance counters.
.RS
.IP 2 4
allow only user-space measurements.
allow only user-space measurements (default since Linux 4.6).
.IP 1
allow both kernel and user measurements (default).
allow both kernel and user measurements (default before Linux 4.6).
.IP 0
allow access to CPU-specific data but not raw tracepoint samples.
.IP \-1