[PATCHSET 0/8] perf tools: A couple of TUI improvements (v3)

From: Namhyung Kim
Date: Thu Dec 26 2013 - 00:39:58 EST


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:


Any feedbacks are more than welcome, thanks

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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/