Kconfig.debug 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. menu "Kernel hacking"
  2. config TRACE_IRQFLAGS_SUPPORT
  3. bool
  4. default y
  5. source "lib/Kconfig.debug"
  6. config CMDLINE
  7. string "Default kernel command string"
  8. default ""
  9. help
  10. On some platforms, there is currently no way for the boot loader to
  11. pass arguments to the kernel. For these platforms, you can supply
  12. some command-line options at build time by entering them here. In
  13. other cases you can specify kernel args so that you don't have
  14. to set them up in board prom initialization routines.
  15. config DEBUG_STACK_USAGE
  16. bool "Enable stack utilization instrumentation"
  17. depends on DEBUG_KERNEL
  18. help
  19. Enables the display of the minimum amount of free stack which each
  20. task has ever had available in the sysrq-T and sysrq-P debug output.
  21. This option will slow down process creation somewhat.
  22. config SMTC_IDLE_HOOK_DEBUG
  23. bool "Enable additional debug checks before going into CPU idle loop"
  24. depends on DEBUG_KERNEL && MIPS_MT_SMTC
  25. help
  26. This option enables Enable additional debug checks before going into
  27. CPU idle loop. For details on these checks, see
  28. arch/mips/kernel/smtc.c. This debugging option result in significant
  29. overhead so should be disabled in production kernels.
  30. config SB1XXX_CORELIS
  31. bool "Corelis Debugger"
  32. depends on SIBYTE_SB1xxx_SOC
  33. select DEBUG_INFO
  34. help
  35. Select compile flags that produce code that can be processed by the
  36. Corelis mksym utility and UDB Emulator.
  37. config RUNTIME_DEBUG
  38. bool "Enable run-time debugging"
  39. depends on DEBUG_KERNEL
  40. help
  41. If you say Y here, some debugging macros will do run-time checking.
  42. If you say N here, those macros will mostly turn to no-ops. See
  43. arch/mips/include/asm/debug.h for debugging macros.
  44. If unsure, say N.
  45. endmenu