diff options
| author | Daniel Borkmann <[email protected]> | 2017-01-25 01:28:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-25 18:17:47 +0000 |
| commit | 0fe05591790e953f3ef9cf4f1bce08b6dd7b771f (patch) | |
| tree | 5aca9cf31220fecef67b7bd68939291d0d13e2e1 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | trace: add variant without spacing in trace_print_hex_seq (diff) | |
| download | kernel-0fe05591790e953f3ef9cf4f1bce08b6dd7b771f.tar.gz kernel-0fe05591790e953f3ef9cf4f1bce08b6dd7b771f.zip | |
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 <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
| -rw-r--r-- | tools/perf/util/scripting-engines/trace-event-perl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c index e55a132f69b7..e74adfbd6a2e 100644 --- a/tools/perf/util/scripting-engines/trace-event-perl.c +++ b/tools/perf/util/scripting-engines/trace-event-perl.c @@ -217,6 +217,7 @@ static void define_event_symbols(struct event_format *event, cur_field_name); break; case PRINT_HEX: + case PRINT_HEX_STR: define_event_symbols(event, ev_name, args->hex.field); define_event_symbols(event, ev_name, args->hex.size); break; |
