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

2016-11-22 Thread Namhyung Kim
Hi Arnaldo and Steve, On Tue, Nov 22, 2016 at 03:06:24PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 22, 2016 at 11:31:58AM -0500, Steven Rostedt escreveu: > > > > Add a way to retrieve the preempt count as well as the latency flags from a > > pevent_record. > > > > int pevent_data_pre

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

2016-11-22 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 22, 2016 at 11:31:58AM -0500, Steven Rostedt escreveu: > > Add a way to retrieve the preempt count as well as the latency flags from a > pevent_record. > > int pevent_data_preempt_count(pevent, record); > > returns the preempt count of a record. > > int pevent_data_flags(pevent, r

[PATCH v2] tools lib traceevent: Add retrieval of preempt count and latency flags

2016-11-22 Thread Steven Rostedt
Add a way to retrieve the preempt count as well as the latency flags from a pevent_record. int pevent_data_preempt_count(pevent, record); returns the preempt count of a record. int pevent_data_flags(pevent, record); returns the latency flags for a record. Signed-off-by: Steven Rostedt ---