Kconfig.debug 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config GPROF
  4. bool "Enable gprof support"
  5. depends on DEBUG_INFO && FRAME_POINTER
  6. help
  7. This allows profiling of a User-Mode Linux kernel with the gprof
  8. utility.
  9. See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
  10. details.
  11. If you're involved in UML kernel development and want to use gprof,
  12. say Y. If you're unsure, say N.
  13. config GCOV
  14. bool "Enable gcov support"
  15. depends on DEBUG_INFO
  16. help
  17. This option allows developers to retrieve coverage data from a UML
  18. session.
  19. See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
  20. details.
  21. If you're involved in UML kernel development and want to use gcov,
  22. say Y. If you're unsure, say N.
  23. config DEBUG_STACK_USAGE
  24. bool "Stack utilization instrumentation"
  25. default N
  26. help
  27. Track the maximum kernel stack usage - this will look at each
  28. kernel stack at process exit and log it if it's the deepest
  29. stack seen so far.
  30. This option will slow down process creation and destruction somewhat.
  31. endmenu