[PATCH 0/7] perf: cleanups related to die/exit and error handling

From: David Ahern
Date: Sun Aug 26 2012 - 14:24:44 EST


Round 1 removing the use of die() and exit(). It's rather slow and tedious
to check all the error paths and make sure error propogation is properly
done and handled, so submitting patches in phases as I have time to work
on it.

David Ahern (7):
perf tool: flush_sample_queue needs to handle errors from handlers
perf tool: handle errors in synthesized event functions
perf lock: remove use of die and handle errors
perf stat: remove use of die/exit and handle errors
perf help: remove remove use of die and handle errors
perf script: remove use of die/exit
perf record: remove use of die/exit

tools/perf/builtin-help.c | 48 ++++++++----
tools/perf/builtin-lock.c | 181 +++++++++++++++++++++++++++++--------------
tools/perf/builtin-record.c | 158 +++++++++++++++++++++++++------------
tools/perf/builtin-script.c | 60 +++++++++-----
tools/perf/builtin-stat.c | 7 +-
tools/perf/util/event.c | 35 ++++++---
tools/perf/util/session.c | 24 +++---
7 files changed, 353 insertions(+), 160 deletions(-)

--
1.7.10.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/