tools lib traceevent: Get rid of die() in add_right()
authorNamhyung Kim <namhyung@kernel.org>
Thu, 12 Dec 2013 07:36:09 +0000 (16:36 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 13 Dec 2013 13:30:22 +0000 (10:30 -0300)
commit02d62d6d17b9b718be2878477cdcae95df0d5b4e
tree80ea22032c8af4f1c712d869e8b6b9cd19558fb0
parent605b8fda958a578e0a50ed1df3cac5a12f1fe8dc
tools lib traceevent: Get rid of die() in add_right()

Refactor it to return appropriate pevent_errno value.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.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-7-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.h
tools/lib/traceevent/parse-filter.c