]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8b94511f08536d0381579c2468b1810ca2f9429
tree8e29bc6882acf674f1e77574b69da24b8dd01072
parent9d57078c27621a0be9536c1972f3a4666f317fbf
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