Kconfig.debug 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Kernel hacking"
  3. source "lib/Kconfig.debug"
  4. config GPROF
  5. bool "Enable gprof support"
  6. depends on DEBUG_INFO && FRAME_POINTER
  7. help
  8. This allows profiling of a User-Mode Linux kernel with the gprof
  9. utility.
  10. See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
  11. details.
  12. If you're involved in UML kernel development and want to use gprof,
  13. say Y. If you're unsure, say N.
  14. config GCOV
  15. bool "Enable gcov support"
  16. depends on DEBUG_INFO
  17. depends on !KCOV
  18. help
  19. This option allows developers to retrieve coverage data from a UML
  20. session.
  21. See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
  22. details.
  23. If you're involved in UML kernel development and want to use gcov,
  24. say Y. If you're unsure, say N.
  25. config EARLY_PRINTK
  26. bool "Early printk"
  27. default y
  28. ---help---
  29. Write kernel log output directly to stdout.
  30. This is useful for kernel debugging when your machine crashes very
  31. early before the console code is initialized.
  32. endmenu