Skip to content

perf tools: A couple of TUI improvements (v3)

Namhyung Kim lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8perf ui/tui: Protect windows by ui__locktools/perf/ui/tui/util.c+16 -30 replies
2/8perf ui/tui: Split help message for perf top and reporttools/perf/ui/browsers/hists.c+30 -192 replies
3/8perf ui/tui: Implement header windowtools/perf/Makefile.perf tools/perf/ui/browser.h tools/perf/ui/browsers/header.c +1 more+136 -00 replies
4/8perf tools: Introduce struct perf_logtools/perf/Makefile.perf tools/perf/perf.c tools/perf/util/debug.h +1 more+124 -04 replies
5/8perf tools: Save message when pr_*() was calledtools/perf/util/debug.c+6 -00 replies
6/8perf ui/tui: Implement log windowtools/perf/Makefile.perf tools/perf/ui/browser.h tools/perf/ui/browsers/hists.c +3 more+147 -10 replies
7/8perf ui/tui: Filter messages in log windowtools/perf/ui/browsers/log.c+103 -140 replies
8/8perf ui/tui: Remember last log line for filteringtools/perf/ui/browsers/log.c+20 -60 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchJiri Olsa
1/8
2/8
3/8
4/8
5/8
6/8
7/8Requested-by
8/8

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/8] perf tools: A couple of TUI improvements (v3)

Hello,

I reordered the patches so that it can be applied more smoothly. Patch 1-2 are general cleanup/fix and not related to this patchset. Patch 3 implements the header window for perf report. And the rest is for the new log window.

* changes from v2)
- fix segfault on log window w/ filter (Jiri)
- split and sort help messages (Ingo)
- optimize log window update w/ filter
- fix help/input window display

I put the patches on 'perf/tui-v3' branch in my tree:

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

Any feedbacks are more than welcome, thanks
Namhyung

Namhyung Kim (8):
perf ui/tui: Protect windows by ui__lock
perf ui/tui: Split help message for perf top and report perf ui/tui: Implement header window
perf tools: Introduce struct perf_log
perf tools: Save message when pr_*() was called perf ui/tui: Implement log window
perf ui/tui: Filter messages in log window perf ui/tui: Remember last log line for filtering

 tools/perf/Makefile.perf        |   3 +
 tools/perf/perf.c               |   3 +
 tools/perf/ui/browser.h         |   3 +
 tools/perf/ui/browsers/header.c | 127 ++++++++++++++++++++++
 tools/perf/ui/browsers/hists.c  |  60 ++++++----
 tools/perf/ui/browsers/log.c    | 235 ++++++++++++++++++++++++++++++++++++++++
 tools/perf/ui/tui/util.c        |  19 +++-
 tools/perf/util/debug.c         |   6 +
 tools/perf/util/debug.h         |  16 +++
 tools/perf/util/log.c           | 111 +++++++++++++++++++
 10 files changed, 561 insertions(+), 22 deletions(-)
 create mode 100644 tools/perf/ui/browsers/header.c
 create mode 100644 tools/perf/ui/browsers/log.c
 create mode 100644 tools/perf/util/log.c
Signature · 1 line
1.7.11.7