[PATCHSET 00/10] perf tools: Apply percent-limit to callchains (v2)

From: Namhyung Kim
Date: Wed Jan 27 2016 - 10:42:45 EST


Hello,

This patchset tries to implement percent limit to callchains which was
requested by Andi Kleen. For some reason, limiting callchains by
(overhead) percentage didn't work well. This patch fixes it and make
--percent-limit also works for callchains as well as hist entries.

* Changes from v1)
- fix insertion path instead of changing all UI code
- show percent value even on single path (if needed)
- change default callchain percent limit

This is available on 'perf/callchain-limit-v2' branch in my tree:

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Any comments are welcome,

Thanks,
Namhyung
*** BLURB HERE ***

Namhyung Kim (10):
perf hists: Fix min callchain hits calculation
perf hists: Update hists' total period when adding entries
perf report: Apply --percent-limit to callchains also
perf report: Get rid of hist_entry__callchain_fprintf()
perf tools: Pass parent_samples to __callchain__fprintf_graph()
perf report: Fix percent display in callchains on --stdio
perf hists browser: Fix dump to show correct callchain style
perf hists browser: Pass parent_total to callchain print functions
perf hists browser: Fix percent display in callchains
perf tools: Change default calchain percent limit to 0.005%

tools/perf/Documentation/perf-report.txt | 2 +-
tools/perf/builtin-report.c | 11 ++-
tools/perf/builtin-top.c | 2 +-
tools/perf/ui/browsers/hists.c | 113 +++++++++++++++++++------------
tools/perf/ui/stdio/hist.c | 72 ++++++++++----------
tools/perf/util/hist.c | 24 +++++--
tools/perf/util/util.c | 2 +-
7 files changed, 136 insertions(+), 90 deletions(-)

--
2.6.4