diff options
author | 2016-11-22 11:31:58 -0500 | |
---|---|---|
committer | 2016-11-23 10:44:03 -0300 | |
commit | c52d9e4e677b0407fe553e9211802e2505a2f244 (patch) | |
tree | e29777a93f6525a2cfa96ea62ac813a4d9277826 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools lib traceevent: Use USECS_PER_SEC instead of hardcoded number (diff) | |
download | linux-dev-c52d9e4e677b0407fe553e9211802e2505a2f244.tar.xz linux-dev-c52d9e4e677b0407fe553e9211802e2505a2f244.zip |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions