diff options
author | Steven Rostedt (VMware) <[email protected]> | 2020-07-02 14:53:57 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-07-06 09:01:54 -0300 |
commit | 9b8179b38ba29c0c8fbfa09b2fe685edca0f6061 (patch) | |
tree | b0d7a756b9b7388dcf80633a8bf501f411d6af2b /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0dfceeffae187ace521333f2986673690a810fc6 (diff) |
tools lib traceevent: Add builtin handler for trace_marker_raw
When something is written into trace_marker_raw, it goes in as a binary.
But the printk_fmt() of the event that is created (raw_data)'s format
file only prints the first byte of data:
print fmt: "id:%04x %08x", REC->id, (int)REC->buf[0]
This is not very useful if we want to see the full data output.
Implement the processing of the raw_data event like it is in the kernel.
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/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions