https://github.com/torvalds/linux
Raw File
Tip revision: 57361846b52bc686112da6ca5368d11210796804 authored by Linus Torvalds on 02 September 2018, 21:37:30 UTC
Linux 4.19-rc2
Tip revision: 5736184
clearing-warn-once.txt

WARN_ONCE / WARN_ON_ONCE only print a warning 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