perf_event_open.2: Clarify the use of signals for capturing overflow events

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-10-17 11:12:33 +02:00
parent 4b3a5f018a
commit 6831ba6b0f
1 changed files with 7 additions and 4 deletions

View File

@ -2585,10 +2585,13 @@ event file descriptor with
.BR select (2), .BR select (2),
or or
.BR epoll (7). .BR epoll (7).
Alternately, a SIGIO signal handler can be created and Alternatively, the overflow events can be captured via sa signal handler,
the event configured with by enabling I/O signaling on the file descriptor; see the discussion of the
.BR fcntl (2) .BF F_SETOWN
to generate SIGIO signals. and
.BR F_SETSIG
operations in
.BR fcntl (2).
Overflows are generated only by sampling events Overflows are generated only by sampling events
.RI ( sample_period .RI ( sample_period