[PATCH] Mention EINTR for perf_event_open

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

 



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.

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,



[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