perf sched: Remove die() calls
authorArnaldo Carvalho de Melo <[email protected]>
Sun, 9 Sep 2012 01:53:06 +0000 (22:53 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Sun, 9 Sep 2012 14:39:02 +0000 (11:39 -0300)
commita116e05dcf61c8d758e0f0aed40325534aee2c13
tree14c6d47407cea9cc3947e52631e880930cb995ec
parent32c7f7383a096a4fc878fdda686c7725945e8a8f
perf sched: Remove die() calls

Just use pr_err() + return -1 and perf_session__process_events to abort
when some event would call die(), then let the perf's main() exit doing
whatever it needs.

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]>
tools/perf/builtin-sched.c