Kconfig.debug 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. help
  18. This option allows developers to retrieve coverage data from a UML
  19. session.
  20. See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
  21. details.
  22. If you're involved in UML kernel development and want to use gcov,
  23. say Y. If you're unsure, say N.
  24. config EARLY_PRINTK
  25. bool "Early printk"
  26. default y
  27. ---help---
  28. Write kernel log output directly to stdout.
  29. This is useful for kernel debugging when your machine crashes very
  30. early before the console code is initialized.
  31. endmenu