Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.42 KB

File metadata and controls

34 lines (29 loc) · 1.42 KB

x86_64_defconfig kvmconfig

# To enable/disable printk dynamically pr_debug https://lwn.net/Articles/434833/ cat /sys/kernel/debug/dynamic_debug/control The four values in printk denote: console_loglevel, default_message_loglevel, minimum_console_loglevel and default_console_loglevel respectively.

“kernel.printk” = “8”; Kernel constant Level value Meaning KERN_EMERG 0 System is unusable KERN_ALERT 1 Action must be taken immediately KERN_CRIT 2 Critical conditions KERN_ERR 3 Error conditions KERN_WARNING 4 Warning conditions KERN_NOTICE 5 Normal but significant condition KERN_INFO 6 Informational KERN_DEBUG 7 Debug-level messages

Run scripts/gen_compile_commands.py MaskRay/ccls#299 Need to exclude some args

$ python ../scripts/gen_compile_commands.py –log_level DEBUG