[PATCH 10/10] arm64: stacktrace: unwind exception boundaries
Mark Brown
broonie at kernel.org
Sat Oct 12 02:22:29 PDT 2024
On Thu, Oct 10, 2024 at 11:15:10AM +0100, Mark Rutland wrote:
> When a PC is unwound from pt_regs::lr, dump_backtrace() will log this
> with an "L" marker so that it can be identified easily. For example,
> an unwind across an exception boundary will appear as follows:
> | el1h_64_irq+0x6c/0x70
> | _raw_spin_unlock_irqrestore+0x10/0x60 (P)
> | __aarch64_insn_write+0x6c/0x90 (L)
> | aarch64_insn_patch_text_nosync+0x28/0x80
> ... with a (P) entry for pt_regs::pc, and an (L) entry for pt_regs:lr.
This will be super useful.
Reviewed-by: Mark Brown <broonie at kernel.org>
modulo the stray file Miroslav mentioned.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241012/4ac1dbe1/attachment.sig>
More information about the linux-arm-kernel
mailing list