lkml.org 
[lkml]   [2012]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] perf: cleanups related to die/exit and error handling
Date
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



\
 
 \ /
  Last update: 2012-08-26 21:01    [W:0.348 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site