summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-06-20 20:06:48 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-06-20 20:06:48 +0200
commitfd58b517e593ed4f54d8c8b47613928c2066c046 (patch)
tree16ca5856a2ae65a6885260b74f248aee454fabf7
parentmn10300: Fix include dependency in irqflags.h et al. (diff)
parentperf: arm64: Record the user-mode PC in the call chain. (diff)
downloadlinux-fd58b517e593ed4f54d8c8b47613928c2066c046.tar.xz
linux-fd58b517e593ed4f54d8c8b47613928c2066c046.zip
Merge tag 'arm64-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64
Pull arm64 perf fix from Catalin Marinas: "Perf fix (user-mode PC recording)" * tag 'arm64-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64: perf: arm64: Record the user-mode PC in the call chain.
-rw-r--r--arch/arm64/kernel/perf_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c
index 1e49e5eb81e9..9ba33c40cdf8 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 &&