From: Namhyung Kim Date: Mon, 23 Apr 2012 04:58:33 +0000 (+0900) Subject: tools lib traceevent: Pass string type argument to args X-Git-Tag: v3.6-rc1~167^2~7^2^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3831a42deba59bf26618b0dd6fa1320a0a94ebd9;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git tools lib traceevent: Pass string type argument to args 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 Link: http://lkml.kernel.org/r/1335157118-14658-7-git-send-email-namhyung.kim@lge.com Signed-off-by: Steven Rostedt Signed-off-by: Namhyung Kim --- 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; trace_seq_destroy(&str); break;