diff options
author | Jed Davis <jld@mozilla.com> | 2013-06-20 04:07:14 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-06-20 10:16:39 +0100 |
commit | abc41254181e901ef5eda2c884ca6cd88a186b6d (patch) | |
tree | ad5dbd9c1adf10bafd4b172c75e5014c863b6df2 /arch/arm64 | |
parent | 7d132055814ef17a6c7b69f342244c410a5e000f (diff) | |
download | linux-3.10-abc41254181e901ef5eda2c884ca6cd88a186b6d.tar.gz linux-3.10-abc41254181e901ef5eda2c884ca6cd88a186b6d.tar.bz2 linux-3.10-abc41254181e901ef5eda2c884ca6cd88a186b6d.zip |
perf: arm64: 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,
and the corresponding change in arch/arm.
Signed-off-by: Jed Davis <jld@mozilla.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kernel/perf_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c index 1e49e5eb81e..9ba33c40cdf 100644 --- a/arch/arm64/kernel/perf_event.c +++ b/arch/arm64/kernel/perf_event.c @@ -1336,6 +1336,7 @@ void perf_callchain_user(struct perf_callchain_entry *entry, return; } + perf_callchain_store(entry, regs->pc); tail = (struct frame_tail __user *)regs->regs[29]; while (entry->nr < PERF_MAX_STACK_DEPTH && |