Skip to content

perf annotate: Add TUI support for data type profiling (v1)

Namhyung Kim linux-perf-users lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6perf annotate: Show progress of sample processingtools/perf/builtin-annotate.c+13 -20 replies
2/6perf annotate-data: Add hist_entry__annotate_data_tty()tools/perf/builtin-annotate.c tools/perf/util/annotate-data.c tools/perf/util/annotate-data.h+114 -1050 replies
3/6perf annotate-data: Add hist_entry__annotate_data_tui()tools/perf/builtin-annotate.c tools/perf/ui/browsers/Build tools/perf/ui/browsers/annotate-data.c +2 more+317 -68 replies
4/6perf annotate-data: Support event group display in TUItools/perf/ui/browsers/annotate-data.c+40 -103 replies
5/6perf report: Add a menu item to annotate data type in TUItools/perf/builtin-report.c tools/perf/ui/browsers/hists.c+36 -03 replies
6/6perf report: Do not collect sample histogram unnecessarilytools/perf/builtin-report.c tools/perf/util/annotate.c+8 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan RogersArnaldo Carvalho de Melo
SeriesR-b
1/6
2/6
3/6R-b T-b
4/6R-b T-b
5/6
6/6

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/6] perf annotate: Add TUI support for data type profiling (v1)

Hello,

This is to support interactive TUI browser for type annotation.

Like the normal (code) annotation, it should be able to display the data type annotation. Now perf annotate --data-type will show the result in TUI by default if it's enabled. Also perf report -s type can show the same output using a menu item.

It's still in a very early stage and supports the basic functionalities only. I'll work on more features like in the normal annotation browser later.

The code is also available at 'perf/annotate-data-tui-v1' branch at

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

Thanks,
Namhyung

Namhyung Kim (6):
perf annotate: Show progress of sample processing perf annotate-data: Add hist_entry__annotate_data_tty() perf annotate-data: Add hist_entry__annotate_data_tui() perf annotate-data: Support event group display in TUI perf report: Add a menu item to annotate data type in TUI perf report: Do not collect sample histogram unnecessarily

 tools/perf/builtin-annotate.c          | 149 ++++--------
 tools/perf/builtin-report.c            |   7 +-
 tools/perf/ui/browsers/Build           |   1 +
 tools/perf/ui/browsers/annotate-data.c | 312 +++++++++++++++++++++++++
 tools/perf/ui/browsers/hists.c         |  31 +++
 tools/perf/util/annotate-data.c        | 113 +++++++++
 tools/perf/util/annotate-data.h        |   6 +
 tools/perf/util/annotate.c             |   7 +
 8 files changed, 515 insertions(+), 111 deletions(-)
 create mode 100644 tools/perf/ui/browsers/annotate-data.c

base-commit: 9c3e9af74326978ba6f4432bb038e6c80f4f56fd

Signature · 1 line
2.44.0.478.gd926399ef9-goog