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)
commite877372880f72399323e433187cce2bfbea40263
tree7b574465067ee976fe1467be6154a45375c845b6
parent37db96bb49629681cb839d7304a70524fe10f969
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