[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-man
Subject: Re: [PATCH] Mention EINTR for perf_event_open
From: "Michael Kerrisk (man-pages)" <mtk.manpages () gmail ! com>
Date: 2020-01-21 19:49:32
Message-ID: 2d5539fb-7b21-64b0-7cee-9ef9858c1738 () gmail ! com
[Download RAW message or body]
On 1/9/20 12:57 AM, Daniel Colascione wrote:
> Somewhat surprisingly, perf_event_open can fail with EINTR when trying
> to enable perf reporting for a uprobe that's already been configured
> for use with ftrace. Mention this error in the man page.
Thanks, Daniel. Patch applied.
Cheers,
Michael
> diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
> index 25876c36c..b9128f542 100644
> --- a/man2/perf_event_open.2
> +++ b/man2/perf_event_open.2
> @@ -3228,6 +3228,10 @@ values are out of range or set reserved bits;
> the generic event selected is not supported; or
> there is not enough room to add the selected event.
> .TP
> +.B EINTR
> +Returned when trying to mix perf and ftrace handling
> +for a uprobe.
> +.TP
> .B EMFILE
> Each opened event uses one file descriptor.
> If a large number of events are opened,
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic