diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-02-23 03:46:23 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-03-05 08:15:50 -0500 |
commit | 824ac0e9838aadf5a398850c80ec2a43b9d0ca49 (patch) | |
tree | bb4ff76d677832e455f587fae1f574311adbadea /tools | |
parent | 142cfbd0a0353bbcf4ce62f1d4b4ffaa5fe228f9 (diff) |
perf annotate: Fix help string on tui
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/ui/browsers/annotate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/ui/browsers/annotate.c b/tools/perf/util/ui/browsers/annotate.c index e73357770d5d..57a4c6ef3fd2 100644 --- a/tools/perf/util/ui/browsers/annotate.c +++ b/tools/perf/util/ui/browsers/annotate.c | |||
@@ -233,9 +233,9 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx, | |||
233 | struct rb_node *nd = NULL; | 233 | struct rb_node *nd = NULL; |
234 | struct map_symbol *ms = self->b.priv; | 234 | struct map_symbol *ms = self->b.priv; |
235 | struct symbol *sym = ms->sym; | 235 | struct symbol *sym = ms->sym; |
236 | const char *help = "<-, ESC: exit, TAB/shift+TAB: cycle hottest lines, " | 236 | const char *help = "<-/ESC: Exit, TAB/shift+TAB: Cycle hot lines, " |
237 | "H: Hottest, -> Line action, S -> Toggle source " | 237 | "H: Go to hottest line, ->/ENTER: Line action, " |
238 | "code view"; | 238 | "S: Toggle source code view"; |
239 | int key; | 239 | int key; |
240 | 240 | ||
241 | if (ui_browser__show(&self->b, sym->name, help) < 0) | 241 | if (ui_browser__show(&self->b, sym->name, help) < 0) |