diff options
author | Steven Rostedt <[email protected]> | 2016-11-22 11:31:58 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-11-23 10:44:03 -0300 |
commit | c52d9e4e677b0407fe553e9211802e2505a2f244 (patch) | |
tree | e29777a93f6525a2cfa96ea62ac813a4d9277826 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | bb5a7316b909612a382b30b568c6b0345b4b6768 (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 <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions