summaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/event-parse.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-07-02 20:53:57 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-07-06 14:01:54 +0200
commit9b8179b38ba29c0c8fbfa09b2fe685edca0f6061 (patch)
treeb0d7a756b9b7388dcf80633a8bf501f411d6af2b /tools/lib/traceevent/event-parse.h
parenttools lib traceevent: Move kernel_stack event handler to "function" plugin. (diff)
downloadlinux-9b8179b38ba29c0c8fbfa09b2fe685edca0f6061.tar.xz
linux-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/20200702174950.123454-5-tz.stoyanov@gmail.com Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> [ Ported from trace-cmd.git ] Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: linux-trace-devel@vger.kernel.org Link: http://lore.kernel.org/lkml/20200702185705.445969275@goodmis.org Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/traceevent/event-parse.h')
0 files changed, 0 insertions, 0 deletions