tools lib traceevent: Get rid of malloc_or_die() allocate_arg()
authorNamhyung Kim <namhyung@kernel.org>
Thu, 12 Dec 2013 07:36:06 +0000 (16:36 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 13 Dec 2013 13:30:21 +0000 (10:30 -0300)
commit2e4eb10d7e59df71ab649343b3f1bff9259da15d
tree30798a9fa9c1602bd5347fb35e0c8a54c71b1924
parentef3072cd1d5c2ea229f7abf8d6475e0c200eeb71
tools lib traceevent: Get rid of malloc_or_die() allocate_arg()

Also check return value and handle it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1386833777-3790-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/parse-filter.c