libtraceevent: Handle %c
PATCH 1/1 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.
Signed-off-by David Ahern <[email protected]>
--- src/event-parse.c | 1 + 1 file changed, 1 insertion(+)
src/event-parse.c +1 -0
@@ -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' :
Signature · 1 line
2.25.1
Steven Rostedt
AppliedQuoted 4 lines · On Mon, 8 May 2023 16:41:21 -0600 David Ahern <[email protected]> wrote:
Use of %c in tracepoints is throwing off the argument order when printing event data via perf. Handle '%c' in
parse_arg_format.Signed-off-by David Ahern <[email protected]>
Applied, Thanks David!
-- Steve
Quoted 16 lines
--- src/event-parse.c | 1 + 1 file changed, 1 insertion(+)src/event-parse.c +1
-0@@ -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' :