diff options
author | David Ahern <dsahern@kernel.org> | 2023-05-08 16:41:21 -0600 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-05-29 04:49:17 -0400 |
commit | 1d8ddb972d08ffd283e6dc7952d4cbe8a6b74eb0 (patch) | |
tree | dedc5c81233f95ef6de59e3cca1b3ca1bdb5af73 | |
parent | 1c6f0f3b2bb47571fc455dc565dc343152517d98 (diff) | |
download | libtraceevent-1d8ddb972d08ffd283e6dc7952d4cbe8a6b74eb0.tar.gz |
libtraceevent: Handle %c
Use of %c in tracepoints is throwing off the argument order when printing
event data via perf. Handle '%c' in parse_arg_format.
Link: https://lore.kernel.org/linux-trace-devel/20230508224121.12861-1-dsahern@kernel.org
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r-- | src/event-parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event-parse.c b/src/event-parse.c index acf7fde..12c6f56 100644 --- a/src/event-parse.c +++ b/src/event-parse.c @@ -6486,6 +6486,7 @@ static int parse_arg_format(struct tep_print_parse **parse, *arg = (*arg)->next; ret++; return ret; + case 'c': case 'd': case 'u': case 'i': |