linux/tools/lib/traceevent
Namhyung Kim 0ca8da00ad tools lib traceevent: Get rid of die() from pevent_register_event_handler
If memory allocation for handler fails, return gracefully instead of
calling die().  Note that casts to void * are needed because gcc
complained about discarding 'const' qualifier during implicit argument
cast.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1346986187-5170-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-09-07 12:15:07 -03:00
..
.gitignore tools lib traceevent: Ignore TRACEEVENT-CFLAGS file 2012-07-25 11:54:44 -03:00
Makefile tools lib traceevent: Detect build environment changes 2012-07-25 11:54:06 -03:00
event-parse.c tools lib traceevent: Get rid of die() from pevent_register_event_handler 2012-09-07 12:15:07 -03:00
event-parse.h tools lib traceevent: Modify header to work in C++ programs 2012-09-05 17:17:30 -03:00
event-utils.h tools lib traceevent: Fix strerror_r() use in pevent_strerror 2012-08-22 16:04:05 -03:00
parse-filter.c tools lib traceevent: Cleanup realloc use 2012-07-04 13:40:31 +09:00
parse-utils.c
trace-seq.c