]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib traceevent: Show contents (in hex) of data of unrecognized type records
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 12 Jan 2018 00:47:47 +0000 (19:47 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Jan 2018 13:22:13 +0000 (10:22 -0300)
commitd0e889e9c8a7b28a92cf311e78bb88d75fd8a80c
tree7b574465067ee976fe1467be6154a45375c845b6
parentadacac0ac672fc2cff5d92e326104056bbb3dad3
tools lib traceevent: Show contents (in hex) of data of unrecognized type records

When a record has an unrecognized type, an error message is reported,
but it would also be helpful to see the contents of that record. At
least show what it is in hex, instead of just showing a blank line.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20180112004822.542204577@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c