Skip to content

perf hists browser: Cleanup callchain routines (v2)

Namhyung Kim lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchJiri Olsa
SeriesA-b

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/2] perf hists browser: Cleanup callchain routines (v2)

Hello,

This patch fixes and cleans up TUI callchain routines. I tried to consolidate similar functions but not to break the current output with this change. Hope that it makes code more readable and maintainable.

It should not change any behavior and outputs. I verified it with expanding by 'E' key + dumping by 'P' key on TUI and then running "diff -u" results before and after the patchset.

Actually I have more changes that would change (or improve) some behavior and output. I'll post them after this patchset is merged.

* changes in v2)
- drop patch 1-3 in v1 since it's already merged
- update description (Arnaldo)
- remove stylish changes (Arnaldo)
- remove unnecessary 'has_single_node' check

You can get this from 'perf/callchain-fix-v2' branch on my tree:

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

Any comments are welcome, thanks
Namhyung

Namhyung Kim (2):
perf hists browser: Cleanup callchain print functions perf hists browser: Consolidate callchain print functions in TUI

 tools/perf/ui/browsers/hists.c | 302 +++++++++++++----------------------------
 1 file changed, 95 insertions(+), 207 deletions(-)
Signature · 1 line
2.0.0