lib, traceevent: add PRINT_HEX_STR variant
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 25 Jan 2017 01:28:17 +0000 (02:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 18:17:47 +0000 (13:17 -0500)
commit0fe05591790e953f3ef9cf4f1bce08b6dd7b771f
tree5aca9cf31220fecef67b7bd68939291d0d13e2e1
parent2acae0d5b0f73a8fb4b180bd13491feb96e55fc6
lib, traceevent: add PRINT_HEX_STR variant

Add support for the __print_hex_str() macro that was added for
tracing, so that user space tools such as perf can understand
it as well.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/traceevent/event-parse.c
tools/lib/traceevent/event-parse.h
tools/perf/util/scripting-engines/trace-event-perl.c
tools/perf/util/scripting-engines/trace-event-python.c