Re: [PATCH] perf, record: Add clockid parameter

From: Peter Zijlstra
Date: Mon Mar 30 2015 - 04:24:57 EST


On Sun, Mar 29, 2015 at 07:00:19PM -0600, David Ahern wrote:
> On 3/28/15 1:55 AM, Peter Zijlstra wrote:
> >Subject: perf, record: Add clockid parameter
> >From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> >Date: Fri, 27 Mar 2015 15:32:01 +0100
> >
> >Teach perf-record about the new perf_event_attr::{use_clockid, clockid}
> >fields. Add a simple parameter to set the clock (if any) to be used for
> >the events to be recorded into the data file.
> >
> >Since we store the entire perf_event_attr in the EVENT_DESC section we
> >also already store the used clockid in the data file.
> >
>
> I am clearly missing some kernel patch to try out this perf patch. I have
> the 4 timekeeper ones; none of those modify perf_event code. What other
> patches are needed? Was this one (or some variant) accepted:
>
> https://lkml.org/lkml/2015/2/20/236

http://git.kernel.org/tip/34f439278cef7b1177f8ce24f9fc81dfc6221d3b

Jah, I now realize I forgot to post that one, I did post the
monotonic_raw nmi patches again, but forgot about this one.

> Perhaps a better question is what tree has all of the kernel side patches?

tip/master should have it all.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/