]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
perf annotate browser: Don't change selection line when returning from callq
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Oct 2011 15:18:13 +0000 (13:18 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Oct 2011 15:18:13 +0000 (13:18 -0200)
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>
tools/perf/util/ui/browsers/annotate.c

index a2c351cf23ebce6aae0550e91ee8c40d354aa4cc..1a12d8fa8e998c0b31cc705a997165215843e96b 100644 (file)
@@ -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':