diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2020-07-02 14:53:45 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-07-03 08:30:10 -0300 |
commit | 374855c5e4a76f7cc7f9aeb613c54929510eff18 (patch) | |
tree | 8cdcf0a22efc8a2b6f673e18fedf71d32e67d027 /tools/perf/util/trace-event-scripting.c | |
parent | f18d5cf86cdb58eb50cafb5a5e20943ec7a61b1f (diff) |
tools lib traceevent: Add API to read time information from kbuffer
Add the functions kbuffer_subbuf_timestamp() and kbuffer_ptr_delta() to
get the timing data stored in the ring buffer that is used to produced
the time stamps of the records.
This is useful for tools like trace-cmd to be able to display the
content of the read data to understand why the records show the time
stamps that they do.
Link: http://lore.kernel.org/linux-trace-devel/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
[ Ported from trace-cmd.git ]
Cc: Andrew Morton <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions