Mailing List Archive

[PATCH 10/20] tools lib traceevent: Pass string type argument to args
From: Namhyung Kim <>

It seems PEVENT_FUNC_ARG_STRING missed passing the allocated string to
the args array. Fix it.

Signed-off-by: Namhyung Kim <>
Cc: Frederic Weisbecker <>
Cc: Namhyung Kim <>
Cc: Ingo Molnar <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Borislav Petkov <>
Cc: David Ahern <>
Signed-off-by: Steven Rostedt <>
Signed-off-by: Namhyung Kim <>
tools/lib/traceevent/event-parse.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 05eb6b4..337ca02 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -3489,6 +3489,7 @@ process_defined_func(struct trace_seq *s, void *data, int size,
if (!string->str)
die("malloc str");

+ args[i] = (unsigned long long)string->str;
strings = string;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at