Kconfig.debug 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. menu "Kernel hacking"
  2. #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
  3. config PROFILING
  4. bool "Kernel profiling support"
  5. config SYSTEM_PROFILER
  6. bool "System profiling support"
  7. source "lib/Kconfig.debug"
  8. config ETRAX_KGDB
  9. bool "Use kernel GDB debugger"
  10. depends on DEBUG_KERNEL
  11. ---help---
  12. The CRIS version of gdb can be used to remotely debug a running
  13. Linux kernel via the serial debug port. Provided you have gdb-cris
  14. installed, run gdb-cris vmlinux, then type
  15. (gdb) set remotebaud 115200 <- kgdb uses 115200 as default
  16. (gdb) target remote /dev/ttyS0 <- maybe you use another port
  17. This should connect you to your booted kernel (or boot it now if you
  18. didn't before). The kernel halts when it boots, waiting for gdb if
  19. this option is turned on!
  20. config DEBUG_NMI_OOPS
  21. bool "NMI causes oops printout"
  22. depends on DEBUG_KERNEL
  23. help
  24. If the system locks up without any debug information you can say Y
  25. here to make it possible to dump an OOPS with an external NMI.
  26. endmenu