summaryrefslogtreecommitdiff
path: root/tools/lib/traceevent/event-parse.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-01-25 04:28:17 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-25 21:17:47 +0300
commit0fe05591790e953f3ef9cf4f1bce08b6dd7b771f (patch)
tree5aca9cf31220fecef67b7bd68939291d0d13e2e1 /tools/lib/traceevent/event-parse.h
parent2acae0d5b0f73a8fb4b180bd13491feb96e55fc6 (diff)
downloadlinux-0fe05591790e953f3ef9cf4f1bce08b6dd7b771f.tar.xz
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>
Diffstat (limited to 'tools/lib/traceevent/event-parse.h')
-rw-r--r--tools/lib/traceevent/event-parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index 7aae746ec2fe..74cecba87daa 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -292,6 +292,7 @@ enum print_arg_type {
PRINT_FUNC,
PRINT_BITMASK,
PRINT_DYNAMIC_ARRAY_LEN,
+ PRINT_HEX_STR,
};
struct print_arg {