]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Generalize handling of 'ret' instructions
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 24 Jun 2016 11:53:58 +0000 (17:23 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 Jun 2016 17:25:05 +0000 (14:25 -0300)
commit6e6df9ed7253e129f1c491aaad0fb0099c4a649b
tree7dc66188a6168c9bcd799febdbe6ea9d7f923ba5
parent970ba5fa238c6886b4d36b8739b3123bba28c544
perf annotate: Generalize handling of 'ret' instructions

Introduce helper to detect 'ret' instructions and use the same in the TUI.
A helper is needed since some architectures such as powerpc have more
than one return instruction.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anton Blanchard <anton@ozlabs.org>
Cc: Daniel Axtens <dja@axtens.net>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: http://lkml.kernel.org/r/1466769240-12376-5-git-send-email-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h