Notes about log levels
This commit is contained in:
parent
4ae1267b43
commit
22d4705614
1 changed files with 7 additions and 0 deletions
|
|
@ -16,3 +16,10 @@
|
||||||
### Style
|
### Style
|
||||||
Check for style with:
|
Check for style with:
|
||||||
`${LINUX_PATH}/scripts/checkpatch.pl -f ./file.c`
|
`${LINUX_PATH}/scripts/checkpatch.pl -f ./file.c`
|
||||||
|
|
||||||
|
See log levels:
|
||||||
|
https://www.kernel.org/doc/html/latest/core-api/printk-basics.html
|
||||||
|
Logs can be listened and filtered
|
||||||
|
See: `cat /proc/sys/kernel/printk`
|
||||||
|
Set with: `echo '4' > /proc/sys/kernel/printk` and so on
|
||||||
|
Set in kernel CLI with 'loglevel=4'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue