aboutsummaryrefslogtreecommitdiffstats
path: root/man2/perf_event_open.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-17 11:12:33 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-17 11:17:42 +0200
commit6831ba6b0f992a16b09bf0c8c9206afefa85e80c (patch)
treed837357954513622a7bd03abc43e847fd9cfca0d /man2/perf_event_open.2
parent4b3a5f018a0890e99dd10ad0ad00a183a48e23e9 (diff)
downloadman-pages-6831ba6b0f992a16b09bf0c8c9206afefa85e80c.tar.gz
perf_event_open.2: Clarify the use of signals for capturing overflow events
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/perf_event_open.2')
-rw-r--r--man2/perf_event_open.211
1 files changed, 7 insertions, 4 deletions
diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 774c133d04..8a0766d820 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -2585,10 +2585,13 @@ event file descriptor with
.BR select (2),
or
.BR epoll (7).
-Alternately, a SIGIO signal handler can be created and
-the event configured with
-.BR fcntl (2)
-to generate SIGIO signals.
+Alternatively, the overflow events can be captured via sa signal handler,
+by enabling I/O signaling on the file descriptor; see the discussion of the
+.BF F_SETOWN
+and
+.BR F_SETSIG
+operations in
+.BR fcntl (2).
Overflows are generated only by sampling events
.RI ( sample_period