aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2013-01-24 22:34:33 -0300
committerArnaldo Carvalho de Melo <[email protected]>2013-01-25 12:49:29 -0300
commit2caa48a24061b1f8e8dab43ea3292a608a15e3c9 (patch)
treef0abc1e2d2b309ad06f21cb5203771f6faace6f7 /tools/perf/util/scripting-engines/trace-event-python.c
parent8d9233f205e8855dc762665e28012354cd46af45 (diff)
perf header: Stop using die() calls when processing tracing data
The callers of this function (perf_event__process_tracing_data) already handles a negative value return as error, so just use pr_err() to log the problem and return -1 instead of panic'ing. Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[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