summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-10-19 13:18:13 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-10-19 13:18:13 -0200
commitfe46e64c432d355ab1b5245498d9b75f37d71ac3 (patch)
tree14228526f2a5ee84f549c6e16dd21439d8f00418
parentd327fa435996c3e559b55e254bad6ed801a92f89 (diff)
perf annotate browser: Don't change selection line when returning from callq
When the user navigates to another annotation browser pressing -> on a 'callq' line, on exit (<-) return to the originating 'callq' line. Reported-by: Ingo Molnar <mingo@elte.hu> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-z5vgver0jgevbiicfndqni5g@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/perf/util/ui/browsers/annotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/ui/browsers/annotate.c b/tools/perf/util/ui/browsers/annotate.c
index a2c351cf23eb..1a12d8fa8e99 100644
--- a/tools/perf/util/ui/browsers/annotate.c
+++ b/tools/perf/util/ui/browsers/annotate.c
@@ -349,7 +349,7 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx,
symbol__tui_annotate(target, ms->map, evidx, nr_events,
timer, arg, delay_secs);
}
- break;
+ continue;
case NEWT_KEY_LEFT:
case NEWT_KEY_ESCAPE:
case 'q':