[PATCHSET 0/6] perf tools: A couple of TUI improvements

Namhyung Kim
2013-12-19T07:00:17Z

Hello,

I was playing with TUI code and added two new windows. One for
showing log messages and another for showing header information.
(Maybe they can be implemented on the GTK code too someday.)

Please try to use it! :)

I put the patches on 'perf/tui-v1' 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 (6):
perf report: Use pr_*() functions if possible
perf tools: Introduce struct perf_log
perf tools: Get rid of a duplicate va_end()
perf tools: Save message when pr_*() was called
perf ui/tui: Implement log window
perf ui/tui: Implement header window

tools/perf/Makefile.perf | 3 ++
tools/perf/builtin-report.c | 24 +++++----
tools/perf/perf.c | 3 ++
tools/perf/ui/browser.h | 3 ++
tools/perf/ui/browsers/header.c | 116 ++++++++++++++++++++++++++++++++++++++++
tools/perf/ui/browsers/hists.c | 8 +++
tools/perf/ui/browsers/log.c | 92 +++++++++++++++++++++++++++++++
tools/perf/util/debug.c | 7 ++-
tools/perf/util/debug.h | 15 ++++++
tools/perf/util/log.c | 105 ++++++++++++++++++++++++++++++++++++
10 files changed, 364 insertions(+), 12 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

--
1.7.11.7