swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 31f4f5b495a62c9a8b15b1c3581acd5efeb9af8c authored by Linus Torvalds on 11 November 2019, 00:17:15 UTC
Linux 5.4-rc7
Tip revision: 31f4f5b
clearing-warn-once.rst
Clearing WARN_ONCE
------------------

WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.

echo 1 > /sys/kernel/debug/clear_warn_once

clears the state and allows the warnings to print once again.
This can be useful after test suite runs to reproduce problems.
back to top