[PATCHSET 0/7] perf tools: Check error during collapsing hist entries
From: Namhyung Kim
Date: Fri Jan 22 2016 - 08:42:51 EST
Hi,
This patchset checks error case during the process of collapsing hist
entries. It's a preparation of upcoming hierarchy patchset which adds
more work in the collapsing path. If there's an error during this
stage, it'll stop processing and show warning to user.
Thanks,
Namhyung
Namhyung Kim (7):
perf callchain: Check return value of add_child()
perf callchain: Check return value of fill_node()
perf callchain: Add enum match_result for match_chain()
perf callchain: Check return value of split_add_child()
perf callchain: Check return value of append_chain_children()
perf hists: Return error from hists__collapse_resort()
perf report: Check error during report__collapse_hists()
tools/perf/builtin-report.c | 14 +++++--
tools/perf/util/callchain.c | 94 +++++++++++++++++++++++++++++++++------------
tools/perf/util/hist.c | 27 ++++++++-----
tools/perf/util/hist.h | 4 +-
4 files changed, 100 insertions(+), 39 deletions(-)
--
2.6.4