]> git.openfabrics.org - ~emulex/infiniband.git/commit
tools lib traceevent: Handle alloc_arg failure
authorNamhyung Kim <namhyung@kernel.org>
Thu, 20 Sep 2012 02:09:19 +0000 (11:09 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Sep 2012 15:31:52 +0000 (12:31 -0300)
commitb1ac754b67b5a875d63bee880f60ccb0c6bd8899
treeb026c7a30a439e5a718e4a37eb48a603a432f0fd
parent6a6cd11d4e5793ce1a2fb88dc7a09dbf43f9c618
tools lib traceevent: Handle alloc_arg failure

Now alloc_arg returns NULL if memory allocation failed, it should be
handled on callsites properly.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/87k3vpzbqo.fsf_-_@sejong.aot.lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c