Files
Linux/kernel
Feng Tang de6da1e8bc panic: add an option to replay all the printk message in buffer
Currently on panic, kernel will lower the loglevel and print out pending
printk msg only with console_flush_on_panic().

Add an option for users to configure the "panic_print" to replay all
dmesg in buffer, some of which they may have never seen due to the
loglevel setting, which will help panic debugging .

[[email protected]: keep the original console_flush_on_panic() inside panic()]
  Link: http://lkml.kernel.org/r/[email protected]
[[email protected]: use logbuf lock to protect the console log index]
  Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Feng Tang <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Cc: Aaro Koskinen <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Borislav Petkov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2019-05-18 15:52:26 -07:00
..
2019-05-14 19:52:51 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-03-22 14:36:02 +01:00
…
…
…
…
2019-01-11 18:05:40 -08:00
…
…
2019-04-18 14:05:51 +02:00