]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf: ARM: Record the user-mode PC in the call chain.
authorJed Davis <jld@mozilla.com>
Thu, 13 Jun 2013 23:21:11 +0000 (00:21 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 18 Jun 2013 13:13:37 +0000 (14:13 +0100)
commit642bd4e2f0eb6e3c342f937c8ac4b2e7e534e975
treede711117ed89ee1670c907e8f8061c1fafd65912
parent7d132055814ef17a6c7b69f342244c410a5e000f
perf: ARM: Record the user-mode PC in the call chain.

With this change, we no longer lose the innermost entry in the user-mode
part of the call chain.  See also the x86 port, which includes the ip.

It's possible to partially work around this problem by post-processing
the data to use the PERF_SAMPLE_IP value, but this works only if the CPU
wasn't in the kernel when the sample was taken.

Signed-off-by: Jed Davis <jld@mozilla.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event.c