Kconfig.debug 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. menu "Kernel hacking"
  2. config TRACE_IRQFLAGS_SUPPORT
  3. bool
  4. default y
  5. source "lib/Kconfig.debug"
  6. config EARLY_PRINTK
  7. bool "Early printk" if EMBEDDED
  8. depends on SYS_HAS_EARLY_PRINTK
  9. default y
  10. help
  11. This option enables special console drivers which allow the kernel
  12. to print messages very early in the bootup process.
  13. This is useful for kernel debugging when your machine crashes very
  14. early before the console code is initialized. For normal operation,
  15. it is not recommended because it looks ugly on some machines and
  16. doesn't cooperate with an X server. You should normally say N here,
  17. unless you want to debug such a crash.
  18. config CMDLINE
  19. string "Default kernel command string"
  20. default ""
  21. help
  22. On some platforms, there is currently no way for the boot loader to
  23. pass arguments to the kernel. For these platforms, you can supply
  24. some command-line options at build time by entering them here. In
  25. other cases you can specify kernel args so that you don't have
  26. to set them up in board prom initialization routines.
  27. config DEBUG_STACK_USAGE
  28. bool "Enable stack utilization instrumentation"
  29. depends on DEBUG_KERNEL
  30. help
  31. Enables the display of the minimum amount of free stack which each
  32. task has ever had available in the sysrq-T and sysrq-P debug output.
  33. This option will slow down process creation somewhat.
  34. config SMTC_IDLE_HOOK_DEBUG
  35. bool "Enable additional debug checks before going into CPU idle loop"
  36. depends on DEBUG_KERNEL && MIPS_MT_SMTC
  37. help
  38. This option enables Enable additional debug checks before going into
  39. CPU idle loop. For details on these checks, see
  40. arch/mips/kernel/smtc.c. This debugging option result in significant
  41. overhead so should be disabled in production kernels.
  42. config SB1XXX_CORELIS
  43. bool "Corelis Debugger"
  44. depends on SIBYTE_SB1xxx_SOC
  45. select DEBUG_INFO
  46. help
  47. Select compile flags that produce code that can be processed by the
  48. Corelis mksym utility and UDB Emulator.
  49. config RUNTIME_DEBUG
  50. bool "Enable run-time debugging"
  51. depends on DEBUG_KERNEL
  52. help
  53. If you say Y here, some debugging macros will do run-time checking.
  54. If you say N here, those macros will mostly turn to no-ops. See
  55. arch/mips/include/asm/debug.h for debugging macros.
  56. If unsure, say N.
  57. endmenu