Kconfig.debug 3.0 KB

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