lkml.org 
[lkml]   [2014]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHSET 0/5] perf tools: Add support log window on TUI (v4)
Date
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



\
 
 \ /
  Last update: 2014-01-13 09:21    [W:0.099 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site