Kconfig.debug 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config CROSSCOMPILE
  4. bool "Are you using a crosscompiler"
  5. help
  6. Say Y here if you are compiling the kernel on a different
  7. architecture than the one it is intended to run on.
  8. config CMDLINE
  9. string "Default kernel command string"
  10. default ""
  11. help
  12. On some platforms, there is currently no way for the boot loader to
  13. pass arguments to the kernel. For these platforms, you can supply
  14. some command-line options at build time by entering them here. In
  15. other cases you can specify kernel args so that you don't have
  16. to set them up in board prom initialization routines.
  17. config DEBUG_STACK_USAGE
  18. bool "Enable stack utilization instrumentation"
  19. depends on DEBUG_KERNEL
  20. help
  21. Enables the display of the minimum amount of free stack which each
  22. task has ever had available in the sysrq-T and sysrq-P debug output.
  23. This option will slow down process creation somewhat.
  24. config KGDB
  25. bool "Remote GDB kernel debugging"
  26. depends on DEBUG_KERNEL
  27. select DEBUG_INFO
  28. help
  29. If you say Y here, it will be possible to remotely debug the MIPS
  30. kernel using gdb. This enlarges your kernel image disk size by
  31. several megabytes and requires a machine with more than 16 MB,
  32. better 32 MB RAM to avoid excessive linking time. This is only
  33. useful for kernel hackers. If unsure, say N.
  34. config GDB_CONSOLE
  35. bool "Console output to GDB"
  36. depends on KGDB
  37. help
  38. If you are using GDB for remote debugging over a serial port and
  39. would like kernel messages to be formatted into GDB $O packets so
  40. that GDB prints them as program output, say 'Y'.
  41. config SB1XXX_CORELIS
  42. bool "Corelis Debugger"
  43. depends on SIBYTE_SB1xxx_SOC
  44. select DEBUG_INFO
  45. help
  46. Select compile flags that produce code that can be processed by the
  47. Corelis mksym utility and UDB Emulator.
  48. config RUNTIME_DEBUG
  49. bool "Enable run-time debugging"
  50. depends on DEBUG_KERNEL
  51. help
  52. If you say Y here, some debugging macros will do run-time checking.
  53. If you say N here, those macros will mostly turn to no-ops. See
  54. include/asm-mips/debug.h for debuging macros.
  55. If unsure, say N.
  56. config MIPS_UNCACHED
  57. bool "Run uncached"
  58. depends on DEBUG_KERNEL && !SMP && !SGI_IP27
  59. help
  60. If you say Y here there kernel will disable all CPU caches. This will
  61. reduce the system's performance dramatically but can help finding
  62. otherwise hard to track bugs. It can also useful if you're doing
  63. hardware debugging with a logic analyzer and need to see all traffic
  64. on the bus.
  65. endmenu