aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-15 19:45:31 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-15 19:48:25 -0400
commitc1ec5fefd9cd9ccb020966a49a3c7f44b25d9e84 (patch)
tree96a48d105a71123c84bb0cbce29b1752892511e5 /tools/perf
parent605539034f208d365f76af8e2152cb25f702367d (diff)
perf newt: Fix the 'A'/'a' shortcut for annotate
Reported-by: Ingo Molnar <mingo@elte.hu> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/newt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c
index 5ded2f0d3e4d..094887f45d05 100644
--- a/tools/perf/util/newt.c
+++ b/tools/perf/util/newt.c
@@ -892,10 +892,10 @@ int hists__browse(struct hists *self, const char *helpline, const char *input_na
892 892
893 if (choice == -1) 893 if (choice == -1)
894 continue; 894 continue;
895do_annotate: 895
896 if (choice == annotate) { 896 if (choice == annotate) {
897 struct hist_entry *he; 897 struct hist_entry *he;
898 898do_annotate:
899 if (browser->selection->map->dso->origin == DSO__ORIG_KERNEL) { 899 if (browser->selection->map->dso->origin == DSO__ORIG_KERNEL) {
900 ui_helpline__puts("No vmlinux file found, can't " 900 ui_helpline__puts("No vmlinux file found, can't "
901 "annotate with just a " 901 "annotate with just a "