Skip to content

perf tools: Check error during collapsing hist entries

Namhyung Kim lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf callchain: Check return value of add_child()tools/perf/util/callchain.c+8 -00 replies
2/7perf callchain: Check return value of fill_node()tools/perf/util/callchain.c+13 -30 replies
3/7perf callchain: Add enum match_result for match_chain()tools/perf/util/callchain.c+30 -143 replies
4/7perf callchain: Check return value of split_add_child()tools/perf/util/callchain.c+9 -30 replies
5/7perf callchain: Check return value of append_chain_children()tools/perf/util/callchain.c+12 -60 replies
6/7perf hists: Return error from hists__collapse_resort()tools/perf/util/hist.c tools/perf/util/hist.h+19 -120 replies
7/7perf report: Check error during report__collapse_hists()tools/perf/builtin-report.c+11 -30 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri Olsa
SeriesA-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/7] perf tools: Check error during collapsing hist entries

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(-)
Signature · 1 line
2.6.4