Linux-man Archive on
 help / color / Atom feed
From: Daniel Colascione <>
To: Michael Kerrisk-manpages <>
Cc: linux-man <>, Tim Murray <>
Subject: [PATCH] Mention EINTR for perf_event_open
Date: Wed, 8 Jan 2020 15:57:18 -0800
Message-ID: <> (raw)

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,

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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