projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1cae34
)
perf annotate: shorten helpline so it fits in visible space
author
David Ahern
<dsahern@gmail.com>
Tue, 8 May 2012 21:01:19 +0000
(15:01 -0600)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 9 May 2012 15:02:36 +0000
(12:02 -0300)
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>
tools/perf/ui/browsers/annotate.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/ui/browsers/annotate.c
b/tools/perf/ui/browsers/annotate.c
index 4db5186472b5890c85e184e374549d36e921503c..a299290d04601069344dcd4d1e14445c6a6c5b54 100644
(file)
--- 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,
struct map_symbol *ms = self->b.priv;
struct symbol *sym = ms->sym;
const char *help = "<-/ESC: Exit, TAB/shift+TAB: Cycle hot lines, "
- "H:
Go to h
ottest line, ->/ENTER: Line action, "
- "O:
Toggle o
ffset view, "
- "S:
Toggle source cod
e view";
+ "H:
H
ottest line, ->/ENTER: Line action, "
+ "O:
O
ffset view, "
+ "S:
Sourc
e view";
int key;
if (ui_browser__show(&self->b, sym->name, help) < 0)