From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Kerrisk Subject: Re: minor perf_event_open() clarification Date: Sat, 01 Jun 2013 22:53:47 +0200 Message-ID: <51AA5F5B.8080407@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Vince Weaver Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org On 05/30/13 23:22, Vince Weaver wrote: > > Clarify the perf_event_open() wakeup_events/wakeup_watermark fields a bit, > based on info from kernel commit cfeb1d90a1b1. Thanks Vince. Applied. Cheers, Michael > Signed-off-by: Vince Weaver > > 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