[PATCHSET 0/5] perf tools: Add support log window on TUI (v4)

From: Namhyung Kim
Date: Mon Jan 13 2014 - 03:01:53 EST


Hello,

This is a new attempt to add a log window support on TUI browser. The
header window support was already merged to acme/perf/core.

* changes in v3)
- use tmpfile(3) instead of mkstemp (David)
- check NULL fp before use (David)
- rename functions to follow the 'class__method' convention (Arnaldo)
- restore original position when write failed (David)

You can get it from the 'perf/tui-v4' branch in my tree:

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

Any comments are welcome, thanks
Namhyung


Namhyung Kim (5):
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 | 2 +
tools/perf/perf.c | 5 +
tools/perf/ui/browser.h | 1 +
tools/perf/ui/browsers/hists.c | 5 +
tools/perf/ui/browsers/log.c | 235 +++++++++++++++++++++++++++++++++++++++++
tools/perf/util/debug.c | 6 ++
tools/perf/util/debug.h | 16 +++
tools/perf/util/log.c | 117 ++++++++++++++++++++
8 files changed, 387 insertions(+)
create mode 100644 tools/perf/ui/browsers/log.c
create mode 100644 tools/perf/util/log.c

--
1.7.11.7

--
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/