perf annotate: ARM support
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Dec 2015 23:07:13 +0000 (23:07 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Dec 2015 21:13:00 +0000 (18:13 -0300)
commitcfef25b8daf7e4b49c84e174a904af9d89dc7c46
tree53148198f44c9a68efd82fca60133d0ba4903406
parentc8280cec2a196f2ffea83dd755b17eb020ca1b83
perf annotate: ARM support

Add basic support to parse ARM assembly.

This:

* enables perf to correctly show the disassembly, rather than chopping
  some constants off at the '#' (which is not a comment character on
  ARM).

* allows perf to identify ARM instructions that branch to other parts
  within the same function, thereby properly annotating them.

* allows perf to identify function calls, allowing called functions to
  be followed in the annotated view.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/n/tip-owp1uj0nmcgfrlppfyeetuyf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c