mirror of https://github.com/mkerrisk/man-pages
perf_event_open.2: Document new perf_event_paranoid default
Signed-off-by: Jann Horn <jann@thejh.net>
This commit is contained in:
parent
4dc411ddbd
commit
3eb9519282
|
@ -2752,14 +2752,15 @@ Files in
|
||||||
.TP
|
.TP
|
||||||
.I /proc/sys/kernel/perf_event_paranoid
|
.I /proc/sys/kernel/perf_event_paranoid
|
||||||
|
|
||||||
|
.\" default changed in commit 0161028b7c8aebef64194d3d73e43bc3b53b5c66
|
||||||
The
|
The
|
||||||
.I perf_event_paranoid
|
.I perf_event_paranoid
|
||||||
file can be set to restrict access to the performance counters.
|
file can be set to restrict access to the performance counters.
|
||||||
.RS
|
.RS
|
||||||
.IP 2 4
|
.IP 2 4
|
||||||
allow only user-space measurements.
|
allow only user-space measurements (default since Linux 4.6).
|
||||||
.IP 1
|
.IP 1
|
||||||
allow both kernel and user measurements (default).
|
allow both kernel and user measurements (default before Linux 4.6).
|
||||||
.IP 0
|
.IP 0
|
||||||
allow access to CPU-specific data but not raw tracepoint samples.
|
allow access to CPU-specific data but not raw tracepoint samples.
|
||||||
.IP \-1
|
.IP \-1
|
||||||
|
|
Loading…
Reference in New Issue