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)
commit46e3e055ce69a00d735e458445ab1d24718ff751
tree06829420acf27f2deb05ac6ccc230268bf271318
parent6e78c9fd1bc2c7e04b3d7052e9eb27aa536e4e2c
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