Re: [PATCH] printk/panic: deduplicate backtrace on PANIC_PRINT_ALL_CPU_BT
From: Guilherme G. Piccoli
Date: Thu May 01 2025 - 17:52:13 EST
On 23/04/2025 17:26, Kevin Mitchell wrote:
> On panic, the backtrace of the panicking CPU will be printed either from
> within panic() itself or by the oops handling. Previously, when
> PANIC_PRINT_ALL_CPU_BT was enabled, the backtrace of the panicking CPU
> would be printed again.
>
> To avoid cluttering up the crash log or console with this redundant
> information, this commit omits the panicking CPU from the all-cpu
> backtrace printed by panic_printk=PANIC_PRINT_ALL_CPU_BT.
>
> Signed-off-by: Kevin Mitchell <kevmitch@xxxxxxxxxx>
> ---
> kernel/panic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Makes total sense - thanks for the improvement!
Feel free to add my:
Reviewed-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx>
Cheers!