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: default avatarIngo 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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent d327fa43
...@@ -349,7 +349,7 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx, ...@@ -349,7 +349,7 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx,
symbol__tui_annotate(target, ms->map, evidx, nr_events, symbol__tui_annotate(target, ms->map, evidx, nr_events,
timer, arg, delay_secs); timer, arg, delay_secs);
} }
break; continue;
case NEWT_KEY_LEFT: case NEWT_KEY_LEFT:
case NEWT_KEY_ESCAPE: case NEWT_KEY_ESCAPE:
case 'q': case 'q':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment