[PATCH 0/2] arm64: stacktrace: Enable reliable stacktrace
Mark Rutland
mark.rutland at arm.com
Wed May 21 04:09:58 PDT 2025
These patches enable (basic) reliable stacktracing for arm64,
terminating at exception boundaries as we do not yet have data necessary
to determine whether or not the LR is live.
The key changes are in patch 2, which is derived from Song Liu's earlier
patch:
https://lore.kernel.org/all/20250320171559.3423224-2-song@kernel.org/
... with cleanups folded in, as discussed earlier:
https://lore.kernel.org/all/aCs08i3u9C9MWy4M@J2N7QTR9R3/
https://lore.kernel.org/all/CAPhsuW4UVkXdShpo2TvisPhr6S1jFPkS_BKXAjN9cT3=k5SAFg@mail.gmail.com/
https://lore.kernel.org/all/20250520142845.GA18846@willie-the-truck/
... and due to those changes I've dropped prior Reviewed-by and
Tested-by tags, but kept everyone Cc'd.
Actual support for livepatching will have to come as as a follow-up, as
that requires additional support that Dylan Hatch is working on:
https://lore.kernel.org/all/CADBMgpzPyW+EnB3A1Hr=LQGhuen4pUuJ0QYa44nH0qfQ9TFaSQ@mail.gmail.com/
Mark.
Mark Rutland (1):
arm64: stacktrace: Check kretprobe_find_ret_addr() return value
Song Liu (1):
arm64: stacktrace: Implement arch_stack_walk_reliable()
arch/arm64/Kconfig | 2 +-
arch/arm64/kernel/stacktrace.c | 55 +++++++++++++++++++++++++++-------
2 files changed, 46 insertions(+), 11 deletions(-)
--
2.30.2
More information about the linux-arm-kernel
mailing list