Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 410e471f authored by chenqiwu's avatar chenqiwu Committed by Will Deacon
Browse files

arm64: Add USER_STACKTRACE support


Currently, userstacktrace is unsupported for ftrace and uprobe
tracers on arm64. This patch uses the perf_callchain_user() code
as blueprint to implement the arch_stack_walk_user() which add
userstacktrace support on arm64.
Meanwhile, we can use arch_stack_walk_user() to simplify the
implementation of perf_callchain_user().
This patch is tested pass with ftrace, uprobe and perf tracers
profiling userstacktrace cases.

Tested-by: default avatarchenqiwu <qiwu.chen@transsion.com>
Signed-off-by: default avatarchenqiwu <qiwu.chen@transsion.com>
Link: https://lore.kernel.org/r/20231219022229.10230-1-qiwu.chen@transsion.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 582c1aee
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment