Re: [PATCH 1/2] tools lib traceevent: Add retrieval of preempt count and latency flags

From: Steven Rostedt
Date: Tue Nov 22 2016 - 09:33:47 EST


On Tue, 22 Nov 2016 15:52:45 +0900
Namhyung Kim <namhyung@xxxxxxxxxx> wrote:

> Hi Steve,
>
> On Fri, Nov 18, 2016 at 05:54:00PM -0500, Steven Rostedt wrote:
> > From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>
> >
> > Add a way to retrieve the preempt count as well as the latency flags from a
> > pevent_record.
> >
> > int pevent_data_pc(pevent, record);
>
> I think pevent_data_preempt_count() is better..

Sure, I'll send a v2.

Thanks,

-- Steve