diff options
| author | Steven Rostedt (VMware) <[email protected]> | 2020-07-02 18:53:57 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-07-06 12:01:54 +0000 |
| commit | 9b8179b38ba29c0c8fbfa09b2fe685edca0f6061 (patch) | |
| tree | b0d7a756b9b7388dcf80633a8bf501f411d6af2b /tools/lib/api/fd/array.c | |
| parent | tools lib traceevent: Move kernel_stack event handler to "function" plugin. (diff) | |
| download | kernel-9b8179b38ba29c0c8fbfa09b2fe685edca0f6061.tar.gz kernel-9b8179b38ba29c0c8fbfa09b2fe685edca0f6061.zip | |
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/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions
