Linux-man Archive on
 help / color / Atom feed
* [PATCH] Mention EINTR for perf_event_open
@ 2020-01-08 23:57 Daniel Colascione
  2020-01-21 19:49 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Colascione @ 2020-01-08 23:57 UTC (permalink / raw)
  To: Michael Kerrisk-manpages; +Cc: linux-man, Tim Murray

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.
+Returned when trying to mix perf and ftrace handling
+for a uprobe.
 Each opened event uses one file descriptor.
 If a large number of events are opened,

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 23:57 [PATCH] Mention EINTR for perf_event_open Daniel Colascione
2020-01-21 19:49 ` Michael Kerrisk (man-pages)

Linux-man Archive on

Archives are clonable:
	git clone --mirror linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ \
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone