diff options
author | David Ahern <dsahern@gmail.com> | 2012-05-08 17:01:19 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-05-09 11:02:36 -0400 |
commit | f6c1be2711333b40d7940ff87e3509b4cd278195 (patch) | |
tree | f8ccdec43183a991c81c950c4b2d717ee6786a3b /tools/perf | |
parent | d1cae34d6fda59391e1b06ac1642ef4a740ba3ef (diff) |
perf annotate: shorten helpline so it fits in visible space
Additional toggles have pushed the help line out of view on a modestly
sized terminal (120 columns wide). Shorten it to just reminders.
Signed-off-by: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1336510879-64610-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/ui/browsers/annotate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index 4db5186472b5..a299290d0460 100644 --- a/tools/perf/ui/browsers/annotate.c +++ b/tools/perf/ui/browsers/annotate.c | |||
@@ -491,9 +491,9 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx, | |||
491 | struct map_symbol *ms = self->b.priv; | 491 | struct map_symbol *ms = self->b.priv; |
492 | struct symbol *sym = ms->sym; | 492 | struct symbol *sym = ms->sym; |
493 | const char *help = "<-/ESC: Exit, TAB/shift+TAB: Cycle hot lines, " | 493 | const char *help = "<-/ESC: Exit, TAB/shift+TAB: Cycle hot lines, " |
494 | "H: Go to hottest line, ->/ENTER: Line action, " | 494 | "H: Hottest line, ->/ENTER: Line action, " |
495 | "O: Toggle offset view, " | 495 | "O: Offset view, " |
496 | "S: Toggle source code view"; | 496 | "S: Source view"; |
497 | int key; | 497 | int key; |
498 | 498 | ||
499 | if (ui_browser__show(&self->b, sym->name, help) < 0) | 499 | if (ui_browser__show(&self->b, sym->name, help) < 0) |