Kconfig.debug 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config FRAME_POINTER
  4. bool
  5. default y
  6. config DEBUG_ERRORS
  7. bool "Verbose kernel error messages"
  8. depends on DEBUG_KERNEL
  9. help
  10. This option controls verbose debugging information which can be
  11. printed when the kernel detects an internal error. This debugging
  12. information is useful to kernel hackers when tracking down problems,
  13. but mostly meaningless to other people. It's safe to say Y unless
  14. you are concerned with the code size or don't want to see these
  15. messages.
  16. config DEBUG_STACK_USAGE
  17. bool "Enable stack utilization instrumentation"
  18. depends on DEBUG_KERNEL
  19. help
  20. Enables the display of the minimum amount of free stack which each
  21. task has ever had available in the sysrq-T output.
  22. config EARLY_PRINTK
  23. bool "Early printk support"
  24. default y
  25. help
  26. Say Y here if you want to have an early console using the
  27. earlyprintk=<name>[,<addr>][,<options>] kernel parameter. It
  28. is assumed that the early console device has been initialised
  29. by the boot loader prior to starting the Linux kernel.
  30. config PID_IN_CONTEXTIDR
  31. bool "Write the current PID to the CONTEXTIDR register"
  32. help
  33. Enabling this option causes the kernel to write the current PID to
  34. the CONTEXTIDR register, at the expense of some additional
  35. instructions during context switch. Say Y here only if you are
  36. planning to use hardware trace tools with this kernel.
  37. endmenu