| source "lib/Kconfig.debug" |
| bool "Early printk" if EXPERT && DEBUG_KERNEL |
| Write kernel log output directly via the hypervisor console. |
| This is useful for kernel debugging when your machine crashes very |
| early before the console code is initialized. For normal operation |
| it is not recommended because it looks ugly and doesn't cooperate |
| with klogd/syslogd. You should normally N here, |
| unless you want to debug such a crash. |
| config DEBUG_STACKOVERFLOW |
| bool "Check for stack overflows" |
| This option will cause messages to be printed if free stack space |
| drops below a certain limit. |
| string "Additional compiler arguments when building with '-g'" |
| Debug info can be large, and flags like |
| `-femit-struct-debug-baseonly' can reduce the kernel file |
| size and build time noticeably. Such flags are often |
| helpful if the main use of debug info is line number info. |