perf session: Remove one more exit() call from library code
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 2 Apr 2010 13:04:18 +0000 (10:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 2 Apr 2010 19:28:31 +0000 (16:28 -0300)
commitad5b217b152d99ca3922153500c619d9758dd87a
treee0377f6f1de3394d29babe49c24a0152df18000d
parentb9fb93047756c5e4129dfda7591612de61b0e877
perf session: Remove one more exit() call from library code

Return NULL instead and make the caller propagate the error.

LKML-Reference: <new-submission>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/util/session.c