tools lib traceevent: Get rid of die() in some string conversion functions
authorNamhyung Kim <namhyung@kernel.org>
Tue, 17 Dec 2013 00:02:36 +0000 (09:02 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Dec 2013 19:51:49 +0000 (16:51 -0300)
commitf23b24f1bf90b56cfaeb2a1c9b77c46efe8916a6
tree8e29bc6882acf674f1e77574b69da24b8dd01072
parent5f70619d67b99310be9aaf850293b7fd7f31d160
tools lib traceevent: Get rid of die() in some string conversion functions

Those functions stringify filter arguments.

As caller of those functions handles NULL string properly, it seems that
it's enough to return NULL rather than calling die().

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/878uvkgx9f.fsf@sejong.aot.lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/parse-filter.c