linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* minor perf_event_open() clarification
@ 2013-05-30 21:22 Vince Weaver
       [not found] ` <alpine.DEB.2.10.1305301720060.13646-6xBS8L8d439fDsnSvq7Uq4Se7xf15W0s1dQoKJhdanU@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Vince Weaver @ 2013-05-30 21:22 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA


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-e7X0jjDqjFGHXe+LvDLADg@public.gmane.org>

diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index f3850f0..14b89ae 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-01 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 21:22 minor perf_event_open() clarification Vince Weaver
     [not found] ` <alpine.DEB.2.10.1305301720060.13646-6xBS8L8d439fDsnSvq7Uq4Se7xf15W0s1dQoKJhdanU@public.gmane.org>
2013-06-01 20:53   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).