]> git.karo-electronics.de Git - linux-beck.git/commit
perf report: Add a popup menu to ask what operation is to be performed
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 24 Mar 2010 19:40:14 +0000 (16:40 -0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Mar 2010 07:52:56 +0000 (08:52 +0100)
commit53c540195724b52422da067a31ef6916d2c70202
treefde499861ff9b054686fc9b23e86087788891432
parentd814f30105798b6677ecb73ed61d691ff96dada9
perf report: Add a popup menu to ask what operation is to be performed

Right now it presents a menu with these options:

 +------------------------------+
 | Annotate CURRENT_SYMBOL_NAME |
 | Exit                         |
 +------------------------------+

If the highlighted (current) symbol is not annotatable only the
"Exit" option will appear.

Also add a confirmation dialog when ESC is pressed on the top
level to avoid exiting the application by pressing one too many
ESC key.

To get to the menu just press the -> (Right navigation key), to
exit just press ESC.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1269459619-982-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/newt.c