mirror of https://github.com/mkerrisk/man-pages
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:
parent
4b3a5f018a
commit
6831ba6b0f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue