]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
perf_event_open.2: Document new perf_event_paranoid default
authorJann Horn <jann@thejh.net>
Wed, 6 Jul 2016 09:43:53 +0000 (11:43 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 7 Jul 2016 10:08:37 +0000 (12:08 +0200)
Signed-off-by: Jann Horn <jann@thejh.net>
man2/perf_event_open.2

index 67881546edaf558b09d890a2ea9771568d944c9f..e9f0740265911970ba7b453e1e8c818be5fd38ea 100644 (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