aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-10-18 11:02:52 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-10-18 11:02:52 -0400
commit2d5646c0d58697c63e1fe6f227165637ca04a6c4 (patch)
tree38dbf471646db43a4019d250034c398966ccb5ed /tools/perf/util/ui
parentdb45bd90be200692342a340e84354c26ca9e424c (diff)
perf hists browser: Add missing hotkeys to the help window
The navigation keys were missing (UP, DOWN arrows, etc). Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-3pnln0bws5v0yoqwd3f020nx@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/ui')
-rw-r--r--tools/perf/util/ui/browsers/hists.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/tools/perf/util/ui/browsers/hists.c b/tools/perf/util/ui/browsers/hists.c
index b144b108029a..873b852e914e 100644
--- a/tools/perf/util/ui/browsers/hists.c
+++ b/tools/perf/util/ui/browsers/hists.c
@@ -886,17 +886,20 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
886 case NEWT_KEY_F1: 886 case NEWT_KEY_F1:
887 case 'h': 887 case 'h':
888 case '?': 888 case '?':
889 ui__help_window("h/?/F1 Show this window\n" 889 ui__help_window("h/?/F1 Show this window\n"
890 "TAB/UNTAB Switch events\n" 890 "UP/DOWN/PGUP\n"
891 "q/CTRL+C Exit browser\n\n" 891 "PGDN/SPACE Navigate\n"
892 "q/ESC/CTRL+C Exit browser\n\n"
893 "For multiple event sessions:\n\n"
894 "TAB/UNTAB Switch events\n\n"
892 "For symbolic views (--sort has sym):\n\n" 895 "For symbolic views (--sort has sym):\n\n"
893 "-> Zoom into DSO/Threads & Annotate current symbol\n" 896 "-> Zoom into DSO/Threads & Annotate current symbol\n"
894 "<- Zoom out\n" 897 "<- Zoom out\n"
895 "a Annotate current symbol\n" 898 "a Annotate current symbol\n"
896 "C Collapse all callchains\n" 899 "C Collapse all callchains\n"
897 "E Expand all callchains\n" 900 "E Expand all callchains\n"
898 "d Zoom into current DSO\n" 901 "d Zoom into current DSO\n"
899 "t Zoom into current Thread\n"); 902 "t Zoom into current Thread\n");
900 continue; 903 continue;
901 case NEWT_KEY_ENTER: 904 case NEWT_KEY_ENTER:
902 case NEWT_KEY_RIGHT: 905 case NEWT_KEY_RIGHT: