perf stat: Remove use of die/exit and handle errors
authorDavid Ahern <dsahern@gmail.com>
Sun, 26 Aug 2012 18:24:44 +0000 (12:24 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Sep 2012 20:20:24 +0000 (17:20 -0300)
commitfceda7feb4a7822feee9662bc64968230d8f37bf
tree29bb0db15bdec607251de80fbaaf5006443b3825
parent33d6aef5136075930f7e9a05175bf4f772d8428e
perf stat: Remove use of die/exit and handle errors

Allows perf to clean up properly on program termination.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1346005487-62961-5-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c