perf_event_open.2: Clarify the perf_event_open() wakeup_events/wakeup_watermark fields

Clarify the perf_event_open() wakeup_events/wakeup_watermark
fields a bit, based on info from kernel commit cfeb1d90a1b1.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Vince Weaver 2013-06-01 22:52:43 +02:00 committed by Michael Kerrisk
parent d58522c0bd
commit 751c0f1a66
1 changed files with 10 additions and 0 deletions

View File

@ -870,6 +870,16 @@ happen before an overflow signal happens.
Which one is used is selected by the
.I watermark
bitflag.
.I wakeup_events
only counts
.B PERF_RECORD_SAMPLE
record types.
To receive a signal for every incoming
.B PERF_RECORD
type set
.I wakeup_watermark
to 1.
.TP
.IR "bp_type" " (Since Linux 2.6.33)"
This chooses the breakpoint type.