perf_event_open.2: Mention EINTR for perf_event_open

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.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Daniel Colascione 2020-01-08 15:57:18 -08:00 committed by Michael Kerrisk
parent 5687d86fa5
commit f46304f747
1 changed files with 4 additions and 0 deletions

View File

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