diff options
author | chenqiwu <qiwuchen55@gmail.com> | 2023-12-19 05:22:29 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-05-03 16:12:45 +0300 |
commit | 410e471f87465f04d7ae7f8ed16ef8e7a3b5517c (patch) | |
tree | 06d83ea464c873b5e925e8a1fc6be614f694bf83 /arch/arm64/Kconfig | |
parent | 582c1aeee0a9e73010cf1c4cef338709860deeb0 (diff) | |
download | linux-410e471f87465f04d7ae7f8ed16ef8e7a3b5517c.tar.xz |
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>
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>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7b11c98b3e84..7f7bbee7d257 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -258,6 +258,7 @@ config ARM64 select TRACE_IRQFLAGS_SUPPORT select TRACE_IRQFLAGS_NMI_SUPPORT select HAVE_SOFTIRQ_ON_OWN_STACK + select USER_STACKTRACE_SUPPORT help ARM 64-bit (AArch64) Linux support. |