UPSTREAM: 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:chenqiwu <qiwu.chen@transsion.com> Change-Id: I6dc650e2e748e7810172968d6b94eb6c5b8fd99b Signed-off-by:
chenqiwu <qiwu.chen@transsion.com> Link: https://lore.kernel.org/r/20231219022229.10230-1-qiwu.chen@transsion.com Signed-off-by:
Will Deacon <will@kernel.org> (cherry picked from commit 410e471f) Bug: 346658593 Signed-off-by:
Kalesh Singh <kaleshsingh@google.com>
Loading
Please sign in to comment