perf: cleanups related to die/exit and error handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | perf tool: flush_sample_queue needs to handle errors from handlerstools/ | +15 | 1 reply | |
| 2/7 | perf tool: handle errors in synthesized event functionstools/ | +26 | 1 reply | |
| 3/7 | perf lock: remove use of die and handle errorstools/ | +124 | 1 reply | |
| 4/7 | perf stat: remove use of die/exit and handle errorstools/ | +4 | 1 reply | |
| 5/7 | perf help: remove remove use of die and handle errorstools/ | +34 | 1 reply | |
| 6/7 | perf script: remove use of die/exittools/ | +41 | 1 reply | |
| 7/7 | perf record: remove use of die/exittools/ | +109 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] perf: cleanups related to die/exit and error handling
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(-)
Signature · 1 line
1.7.10.1