aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bitmap.c
diff options
context:
space:
mode:
authorSteven Rostedt2016-11-22 11:31:58 -0500
committerArnaldo Carvalho de Melo2016-11-23 10:44:03 -0300
commitc52d9e4e677b0407fe553e9211802e2505a2f244 (patch)
treee29777a93f6525a2cfa96ea62ac813a4d9277826 /tools/lib/bitmap.c
parentbb5a7316b909612a382b30b568c6b0345b4b6768 (diff)
tools lib traceevent: Add retrieval of preempt count and latency flags
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 <rostedt@goodmis.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/20161122113158.03a010a8@gandalf.local.home Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions