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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/06/2016 11:43 AM, Jann Horn wrote:
Signed-off-by: Jann Horn <jann@xxxxxxxxx>

Thanks, Jann. Applied!

Cheers,

Michael


---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux