perf annotate browser: Handle retq instructions
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Apr 2012 18:57:15 +0000 (15:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Apr 2012 18:57:15 +0000 (15:57 -0300)
commitc4cceae3ba786c136b0cf568359863d74897a48a
treed2871fcd8dfd58ed1a1bfcb1faf4019deb2e6ac9
parent4ea08b522071c6c34098b7a880aac3551abecd75
perf annotate browser: Handle retq instructions

By just returning to the previous function being annotated or to the top
main screen when popping out the base of the annotation stack.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
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-x1dlc4d5aukj72g45o15s75k@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c