]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Add TUI interface
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 May 2010 14:25:40 +0000 (11:25 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 May 2010 14:25:40 +0000 (11:25 -0300)
commit22a40c5fd1a8c481e860fd158f5850cc4951087c
tree06829420acf27f2deb05ac6ccc230268bf271318
parentd10c2553dc07ae4d1b1076dca56ca6fe41d945ff
perf annotate: Add TUI interface

When annotating multiple entries, for instance, when running simply as:

$ perf annotate

the right and left keys, as well as TAB can be used to cycle thru the
multiple symbols being annotated.

If one doesn't like TUI annotate, disable it by editing ~/.perfconfig
and adding:

[tui]

annotate = off

Just like it is possible for report.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/util/hist.c
tools/perf/util/hist.h
tools/perf/util/newt.c
tools/perf/util/util.h