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.
This is available on 'perf/callchain-limit-v1' branch in my tree: git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git Any comments are welcome, Thanks, Namhyung Namhyung Kim (12): perf report: Apply --percent-limit to callchains also perf report: Apply callchain percent limit on --stdio perf report: Get rid of hist_entry__callchain_fprintf() perf report: Fix percent calculation on --stdio perf report: Hide output pipe for percent-limited callchains on stdio perf hists browser: Fix dump to show correct callchain style perf hists browser: Fix callchain_node__count_rows() perf hists browser: Apply callchain percent limit perf hists browser: Fix callchain counting when press ENTER key perf hists browser: Fix counting callchains when expand/collapse all perf hists browser: Update percent base for fractal callchain mode perf report: Fix callchain percent limit on --gtk tools/perf/builtin-report.c | 9 +- tools/perf/ui/browsers/hists.c | 221 ++++++++++++++++++++++++++++++----------- tools/perf/ui/gtk/hists.c | 15 +++ tools/perf/ui/stdio/hist.c | 74 ++++++++------ 4 files changed, 229 insertions(+), 90 deletions(-) -- 2.6.4