perf annotate: Fix help string on tui
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 23 Feb 2012 08:46:23 +0000 (17:46 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Mar 2012 13:15:50 +0000 (10:15 -0300)
Separate multiple binding using /, capitalize descriptions, add missing
key binding.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1329986784-4916-5-git-send-email-namhyung.kim@lge.com
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browsers/annotate.c

index e73357770d5d445a0ca84edb24e29dbbb14961bb..57a4c6ef3fd29dbfe02404d997f998f88a2c0499 100644 (file)
@@ -233,9 +233,9 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx,
        struct rb_node *nd = NULL;
        struct map_symbol *ms = self->b.priv;
        struct symbol *sym = ms->sym;
-       const char *help = "<-, ESC: exit, TAB/shift+TAB: cycle hottest lines, "
-                          "H: Hottest, -> Line action, S -> Toggle source "
-                          "code view";
+       const char *help = "<-/ESC: Exit, TAB/shift+TAB: Cycle hot lines, "
+                          "H: Go to hottest line, ->/ENTER: Line action, "
+                          "S: Toggle source code view";
        int key;
 
        if (ui_browser__show(&self->b, sym->name, help) < 0)