Skip to content

Commit

Permalink
perf newt: Fix the 'A'/'a' shortcut for annotate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnaldo Carvalho de Melo committed May 15, 2010
1 parent 6055390 commit c1ec5fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/perf/util/newt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit c1ec5fe

Please sign in to comment.