Skip to content

Commit fd58b51

Browse files
committed
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.
2 parents c069114 + abc4125 commit fd58b51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/perf_event.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,6 +1336,7 @@ void perf_callchain_user(struct perf_callchain_entry *entry,
13361336
return;
13371337
}
13381338

1339+
perf_callchain_store(entry, regs->pc);
13391340
tail = (struct frame_tail __user *)regs->regs[29];
13401341

13411342
while (entry->nr < PERF_MAX_STACK_DEPTH &&

0 commit comments

Comments
 (0)