Kconfig.debug 1.4 KB

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