Kconfig.debug 865 B

123456789101112131415161718192021222324252627
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config EARLY_PRINTK
  4. bool "Early printk" if EXPERT && DEBUG_KERNEL
  5. default y
  6. help
  7. Write kernel log output directly via the hypervisor console.
  8. This is useful for kernel debugging when your machine crashes very
  9. early before the console code is initialized. For normal operation
  10. it is not recommended because it looks ugly and doesn't cooperate
  11. with klogd/syslogd. You should normally N here,
  12. unless you want to debug such a crash.
  13. config DEBUG_EXTRA_FLAGS
  14. string "Additional compiler arguments when building with '-g'"
  15. depends on DEBUG_INFO
  16. default ""
  17. help
  18. Debug info can be large, and flags like
  19. `-femit-struct-debug-baseonly' can reduce the kernel file
  20. size and build time noticeably. Such flags are often
  21. helpful if the main use of debug info is line number info.
  22. endmenu