diff options
author | Namhyung Kim <[email protected]> | 2012-09-07 11:49:46 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-09-07 12:15:07 -0300 |
commit | 0ca8da00ad170c12c12350c3a2500591a7bec535 (patch) | |
tree | b491d60e8e4958021420999a44da95072b9677c9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 245c5a18433090da0e1a799bdb0faa78552b5992 (diff) |
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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions