From: Arnaldo Carvalho de Melo Date: Sat, 15 May 2010 23:45:31 +0000 (-0300) Subject: perf newt: Fix the 'A'/'a' shortcut for annotate X-Git-Tag: v2.6.35-rc1~3^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1ec5fefd9cd9ccb020966a49a3c7f44b25d9e84;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git perf newt: Fix the 'A'/'a' shortcut for annotate Reported-by: Ingo Molnar Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index 5ded2f0..094887f 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 if (choice == -1) continue; -do_annotate: + if (choice == annotate) { struct hist_entry *he; - +do_annotate: if (browser->selection->map->dso->origin == DSO__ORIG_KERNEL) { ui_helpline__puts("No vmlinux file found, can't " "annotate with just a "