File: clearing-warn-once.rst

package info (click to toggle)
linux 6.16.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,724,600 kB
  • sloc: ansic: 26,562,026; asm: 271,344; sh: 144,033; python: 72,469; makefile: 57,130; perl: 36,821; xml: 19,553; cpp: 5,820; yacc: 4,915; lex: 2,955; awk: 1,667; sed: 28; ruby: 25
file content (9 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (27)
1
2
3
4
5
6
7
8
9
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.