Kconfig.debug 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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
  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 GDB_CONSOLE
  44. bool "Console output to GDB"
  45. depends on KGDB
  46. help
  47. If you are using GDB for remote debugging over a serial port and
  48. would like kernel messages to be formatted into GDB $O packets so
  49. that GDB prints them as program output, say 'Y'.
  50. config SB1XXX_CORELIS
  51. bool "Corelis Debugger"
  52. depends on SIBYTE_SB1xxx_SOC
  53. select DEBUG_INFO
  54. help
  55. Select compile flags that produce code that can be processed by the
  56. Corelis mksym utility and UDB Emulator.
  57. config RUNTIME_DEBUG
  58. bool "Enable run-time debugging"
  59. depends on DEBUG_KERNEL
  60. help
  61. If you say Y here, some debugging macros will do run-time checking.
  62. If you say N here, those macros will mostly turn to no-ops. See
  63. include/asm-mips/debug.h for debuging macros.
  64. If unsure, say N.
  65. config MIPS_UNCACHED
  66. bool "Run uncached"
  67. depends on DEBUG_KERNEL && !SMP && !SGI_IP27
  68. help
  69. If you say Y here there kernel will disable all CPU caches. This will
  70. reduce the system's performance dramatically but can help finding
  71. otherwise hard to track bugs. It can also useful if you're doing
  72. hardware debugging with a logic analyzer and need to see all traffic
  73. on the bus.
  74. endmenu