WSL2-Linux-Kernel/tools/lib/traceevent
Namhyung Kim b3511d0530 tools lib traceevent: Fix freeing arg on process_dynamic_array()
The @arg paremeter should not be freed inside of process_XXX(),
because it'd be freed from the caller of process_arg(). We can
free it only after it was reused for local usage.

Cc: Borislav Petkov <bp@alien8.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1337740619-27925-14-git-send-email-namhyung.kim@lge.com
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-05-24 11:33:53 -03:00
..
Makefile tools/events: Add files to create libtraceevent.a 2012-04-25 12:28:28 +02:00
event-parse.c tools lib traceevent: Fix freeing arg on process_dynamic_array() 2012-05-24 11:33:53 -03:00
event-parse.h parse-events: Rename struct record to struct pevent_record 2012-04-25 13:35:48 +02:00
event-utils.h events: Update tools/lib/traceevent to work with perf 2012-04-25 13:12:26 +02:00
parse-filter.c parse-events: Rename struct record to struct pevent_record 2012-04-25 13:35:48 +02:00
parse-utils.c tools/events: Add files to create libtraceevent.a 2012-04-25 12:28:28 +02:00
trace-seq.c events: Update tools/lib/traceevent to work with perf 2012-04-25 13:12:26 +02:00