[PATCH v4 2/8] arm64, unwind: build kernel with sframe V3 info
Jens Remus
jremus at linux.ibm.com
Wed Apr 22 07:15:36 PDT 2026
On 4/22/2026 12:51 AM, Dylan Hatch wrote:
> Build with -Wa,--gsframe-3 flags to generate a .sframe section. This
> will be used for in-kernel reliable stacktrace in cases where the frame
> pointer alone is insufficient.
>
> Currently, the sframe format only supports arm64, x86_64 and s390x
> architectures.
>
> Signed-off-by: Weinan Liu <wnliu at google.com>
> Reviewed-by: Prasanna Kumar T S M <ptsm at linux.microsoft.com>
> Signed-off-by: Dylan Hatch <dylanbhatch at google.com>
Reviewed-by: Jens Remus <jremus at linux.ibm.com>
> ---
> MAINTAINERS | 1 +
> Makefile | 8 ++++++++
> arch/Kconfig | 21 +++++++++++++++++++++
> arch/arm64/Kconfig | 1 +
> arch/arm64/include/asm/unwind_sframe.h | 8 ++++++++
> arch/arm64/kernel/vdso/Makefile | 2 +-
> include/asm-generic/sections.h | 4 ++++
> include/asm-generic/vmlinux.lds.h | 15 +++++++++++++++
> 8 files changed, 59 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm64/include/asm/unwind_sframe.h
Regards,
Jens
--
Jens Remus
Linux on Z Development (D3303)
jremus at de.ibm.com / jremus at linux.ibm.com
IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Ehningen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/
More information about the linux-arm-kernel
mailing list