Re: [PATCH] panic: call panic handlers before kmsg_dump

From: Tony Luck
Date: Thu Jul 18 2013 - 19:17:18 EST


On Thu, Jul 18, 2013 at 4:03 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> Since the panic handlers may produce additional information (via printk)
> for the kernel log, it should be reported as part of the panic output
> saved by kmsg_dump(). Without this re-ordering, nothing that adds
> information to a panic will show up in pstore's view when kmsg_dump
> runs, and is therefore not visible to crash reporting tools that examine
> pstore output.

Good point.

Acked-by: Tony Luck <tony.luck@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/