]> git.karo-electronics.de Git - linux-beck.git/commit
perf sched: Remove die() calls
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 9 Sep 2012 01:53:06 +0000 (22:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
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 <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-88cwdogxqomsy9tfr8r0as58@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c