]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
panic: refine the document for 'panic_print'
authorFeng Tang <feng.tang@linux.alibaba.com>
Mon, 25 Aug 2025 02:56:59 +0000 (10:56 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 14 Sep 2025 00:32:50 +0000 (17:32 -0700)
User reported current document about SYS_INFO_PANIC_CONSOLE_REPLAY is
confusing, that people could expect all user space console messages to be
replayed.

Specify that only 'kernel' messages will be replayed to solve the confusion.

Link: https://lkml.kernel.org/r/20250825025701.81921-3-feng.tang@linux.alibaba.com
Signed-off-by: Feng Tang <feng.tang@linux.alibaba.com>
Reported-by: Askar Safin <safinaskar@zohomail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Lance Yang <lance.yang@linux.dev>
Cc: "Paul E . McKenney" <paulmck@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/admin-guide/kernel-parameters.txt
Documentation/admin-guide/sysctl/kernel.rst

index 747a55abf4946bb9efe320f0f62fdcd1560b0a71..86f395f2933b74bb5c66ee58a861c96dde4ef0c4 100644 (file)
                        bit 2: print timer info
                        bit 3: print locks info if CONFIG_LOCKDEP is on
                        bit 4: print ftrace buffer
-                       bit 5: replay all messages on consoles at the end of panic
+                       bit 5: replay all kernel messages on consoles at the end of panic
                        bit 6: print all CPUs backtrace (if available in the arch)
                        bit 7: print only tasks in uninterruptible (blocked) state
                        *Be aware* that this option may print a _lot_ of lines,
index 8b49eab937d079b1ad8ebce4c46d220670a1593b..f3ee807b5d8b3ce25dcabbdca3638f0691854144 100644 (file)
@@ -890,7 +890,7 @@ bit 1  print system memory info
 bit 2  print timer info
 bit 3  print locks info if ``CONFIG_LOCKDEP`` is on
 bit 4  print ftrace buffer
-bit 5  replay all messages on consoles at the end of panic
+bit 5  replay all kernel messages on consoles at the end of panic
 bit 6  print all CPUs backtrace (if available in the arch)
 bit 7  print only tasks in uninterruptible (blocked) state
 =====  ============================================