linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf_event_open.2: document new perf_event_paranoid default
@ 2016-07-06  9:43 Jann Horn
       [not found] ` <1467798233-7838-1-git-send-email-jann-XZ1E9jl8jIdeoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jann Horn @ 2016-07-06  9:43 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Jann Horn <jann-XZ1E9jl8jIdeoWH0uzbU5w@public.gmane.org>
---
 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
-- 
2.1.4

--
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] perf_event_open.2: document new perf_event_paranoid default
       [not found] ` <1467798233-7838-1-git-send-email-jann-XZ1E9jl8jIdeoWH0uzbU5w@public.gmane.org>
@ 2016-07-07 10:09   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2016-07-07 10:09 UTC (permalink / raw)
  To: Jann Horn
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 07/06/2016 11:43 AM, Jann Horn wrote:
> Signed-off-by: Jann Horn <jann-XZ1E9jl8jIdeoWH0uzbU5w@public.gmane.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-07 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06  9:43 [PATCH] perf_event_open.2: document new perf_event_paranoid default Jann Horn
     [not found] ` <1467798233-7838-1-git-send-email-jann-XZ1E9jl8jIdeoWH0uzbU5w@public.gmane.org>
2016-07-07 10:09   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).