projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d13205
)
perf: arm64: Record the user-mode PC in the call chain.
author
Jed Davis
<
[email protected]
>
Thu, 20 Jun 2013 03:07:14 +0000
(
04:07
+0100)
committer
Catalin Marinas
<
[email protected]
>
Thu, 20 Jun 2013 09:16:39 +0000
(10:16 +0100)
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 <
[email protected]
>
Acked-by: Ingo Molnar <
[email protected]
>
Acked-by: Will Deacon <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Catalin Marinas <
[email protected]
>
arch/arm64/kernel/perf_event.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/perf_event.c
b/arch/arm64/kernel/perf_event.c
index 1e49e5eb81e977fe44fccc369be1974617680cac..9ba33c40cdf8f841e974f68e599f0f97e87138ff 100644
(file)
--- 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 &&