mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 18:55:12 +00:00
71fc2eb8b4
and link it into admin-guide. Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Cc: Harry Wei <harryxiyou@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Link: https://lore.kernel.org/r/20200713115807.56362-2-alex.shi@linux.alibaba.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
10 lines
265 B
ReStructuredText
10 lines
265 B
ReStructuredText
清除 WARN_ONCE
|
|
--------------
|
|
|
|
WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息.
|
|
|
|
echo 1 > /sys/kernel/debug/clear_warn_once
|
|
|
|
可以清除这种状态并且再次允许打印一次告警信息,这对于运行测试集后重现问题
|
|
很有用。
|