linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] perf: cleanups related to die/exit and error handling
@ 2012-08-26 18:24 David Ahern
  2012-08-26 18:24 ` [PATCH 1/7] perf tool: flush_sample_queue needs to handle errors from handlers David Ahern
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: David Ahern @ 2012-08-26 18:24 UTC (permalink / raw)
  To: acme, linux-kernel; +Cc: David Ahern

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-09-07  6:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-26 18:24 [PATCH 0/7] perf: cleanups related to die/exit and error handling David Ahern
2012-08-26 18:24 ` [PATCH 1/7] perf tool: flush_sample_queue needs to handle errors from handlers David Ahern
2012-09-07  5:56   ` [tip:perf/core] perf session: " tip-bot for David Ahern
2012-08-26 18:24 ` [PATCH 2/7] perf tool: handle errors in synthesized event functions David Ahern
2012-09-07  5:57   ` [tip:perf/core] " tip-bot for David Ahern
2012-08-26 18:24 ` [PATCH 3/7] perf lock: remove use of die and handle errors David Ahern
2012-09-07  5:58   ` [tip:perf/core] perf lock: Remove " tip-bot for David Ahern
2012-08-26 18:24 ` [PATCH 4/7] perf stat: remove use of die/exit " David Ahern
2012-09-07  5:58   ` [tip:perf/core] perf stat: Remove use of die/ exit " tip-bot for David Ahern
2012-08-26 18:24 ` [PATCH 5/7] perf help: remove remove use of die " David Ahern
2012-09-07  5:59   ` [tip:perf/core] perf help: Remove " tip-bot for David Ahern
2012-08-26 18:24 ` [PATCH 6/7] perf script: remove use of die/exit David Ahern
2012-09-07  6:00   ` [tip:perf/core] perf script: Remove " tip-bot for David Ahern
2012-08-26 18:24 ` [PATCH 7/7] perf record: remove " David Ahern
2012-09-07  6:01   ` [tip:perf/core] perf record: Remove " tip-bot for David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).