Linux Trace Development
 help / color / mirror / Atom feed
* [PATCH] libtraceevent: Handle %c
@ 2023-05-08 22:41 David Ahern
  2023-05-29  8:50 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: David Ahern @ 2023-05-08 22:41 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel, David Ahern

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 <dsahern@kernel.org>
---
 src/event-parse.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/event-parse.c b/src/event-parse.c
index acf7fde4ead9..12c6f560019b 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':
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-29  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-08 22:41 [PATCH] libtraceevent: Handle %c David Ahern
2023-05-29  8:50 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox