https://github.com/torvalds/linux
Raw File
Tip revision: 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8 authored by Linus Torvalds on 13 January 2019, 22:41:12 UTC
Linux 5.0-rc2
Tip revision: 1c7fc5c
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