From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH 3/4] perf_event_open.2 Linux 3.12 PERF_EVENT_IOC_ID Date: Fri, 08 Nov 2013 06:13:42 +1300 Message-ID: <527BCA46.7030902@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: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org On 11/07/13 07:31, Vince Weaver wrote: > > A new perf_event related ioctl, PERF_EVENT_IOC_ID, was added > in Linux 3.12. 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 4ff9690..a443b6e 100644 > --- a/man2/perf_event_open.2 > +++ b/man2/perf_event_open.2 > @@ -2000,6 +2160,12 @@ output should be ignored. > This adds an ftrace filter to this event. > > The argument is a pointer to the desired ftrace filter. > +.TP > +.BR PERF_EVENT_IOC_ID " (Since Linux 3.12)" > +Returns the event ID value for the given event fd. > + > +The argument is a pointer to a 64-bit unsigned integer > +to hold the result. > .SS Using prctl > A process can enable or disable all the event groups that are > attached to it using the > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ -- 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