summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMagnus Lindholm <linmag7@gmail.com>2026-07-06 18:56:43 +0200
committerMagnus Lindholm <linmag7@gmail.com>2026-07-19 13:15:54 +0200
commit46651c650facce7cac33610ccc7a07a9c9d90df4 (patch)
treea5fedfaef55678eab87d3510cf6522b5cb24ec81 /tools/perf/scripts/python
parent8a2857bc2b3039eef6c15900b00424417a2293e8 (diff)
alpha: add ARCH_STACKWALK-based stacktrace support
Implement arch_stack_walk() for Alpha using a simple kernel stack scanning walker. Start from regs+1 for current tasks to skip pt_regs and use pcb.ksp for blocked tasks. Filter candidates with __kernel_text_address() and stop at stack bounds via kstack_end(). Enable CONFIG_STACKTRACE_SUPPORT and CONFIG_ARCH_STACKWALK so generic stacktrace users (dump_stack(), /proc/*/stack, SysRq backtraces, etc.) work on Alpha. This provides functional in-kernel stack traces without requiring frame pointer unwinding. Reviewed-by: Matt Turner <mattst88@gmail.com> Tested-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Magnus Lindholm <linmag7@gmail.com> Link: https://lore.kernel.org/r/20260706170019.2941459-3-linmag7@gmail.com Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions