Thread (1 message) 1 message, 1 author, 2016-07-07

Re: [PATCH] perf_event_open.2: document new perf_event_paranoid default

From: Michael Kerrisk (man-pages) <hidden>
Date: 2016-07-07 10:09:56

On 07/06/2016 11:43 AM, Jann Horn wrote:
Signed-off-by: Jann Horn <redacted>
Thanks, Jann. Applied!

Cheers,

Michael

quoted hunk
---
 man2/perf_event_open.2 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 0e42c50..3cbf080 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -2747,14 +2747,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

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help