Kconfig.debug 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config PT_PROXY
  4. bool "Enable ptrace proxy"
  5. depends on XTERM_CHAN && DEBUG_INFO && MODE_TT
  6. help
  7. This option enables a debugging interface which allows gdb to debug
  8. the kernel without needing to actually attach to kernel threads.
  9. If you want to do kernel debugging, say Y here; otherwise say N.
  10. config GPROF
  11. bool "Enable gprof support"
  12. depends on DEBUG_INFO && MODE_SKAS && !MODE_TT
  13. help
  14. This allows profiling of a User-Mode Linux kernel with the gprof
  15. utility.
  16. See <http://user-mode-linux.sourceforge.net/gprof.html> for more
  17. details.
  18. If you're involved in UML kernel development and want to use gprof,
  19. say Y. If you're unsure, say N.
  20. config GCOV
  21. bool "Enable gcov support"
  22. depends on DEBUG_INFO && MODE_SKAS
  23. help
  24. This option allows developers to retrieve coverage data from a UML
  25. session.
  26. See <http://user-mode-linux.sourceforge.net/gprof.html> for more
  27. details.
  28. If you're involved in UML kernel development and want to use gcov,
  29. say Y. If you're unsure, say N.
  30. config SYSCALL_DEBUG
  31. bool "Enable system call debugging"
  32. default N
  33. depends on DEBUG_INFO
  34. help
  35. This adds some system debugging to UML, including keeping a ring buffer
  36. with recent system calls and some global and per-task statistics.
  37. If unsure, say N
  38. endmenu