Config.in.debug 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "Kernel debugging"
  4. config ADK_KERNEL_FTRACE
  5. bool
  6. config ADK_KERNEL_GENERIC_TRACER
  7. bool
  8. config ADK_KERNEL_FUNCTION_TRACER
  9. bool
  10. config ADK_KERNEL_PROFILING
  11. bool
  12. config ADK_KERNEL_DEBUG_KERNEL
  13. bool
  14. config ADK_KERNEL_DEBUG_INFO
  15. bool
  16. config ADK_KERNEL_KGDB
  17. bool
  18. config ADK_KERNEL_KGDB_SERIAL_CONSOLE
  19. bool
  20. config ADK_KERNEL_FRAME_POINTER
  21. bool
  22. config ADK_KERNEL_EARLY_PRINTK
  23. bool
  24. config ADK_KERNEL_KALLSYMS_ALL
  25. bool
  26. config ADK_KERNEL_PRINTK
  27. bool "printk support (disable to save space and quieten bootup)"
  28. select ADK_KERNEL_EARLY_PRINTK
  29. default y
  30. help
  31. Disable printk to save space and quieten bootup.
  32. config ADK_KERNEL_PRINTK_TIME
  33. bool "timing information for printk"
  34. depends on ADK_KERNEL_PRINTK
  35. default y
  36. help
  37. Enable timing information for printk, to analyze kernel
  38. bootup performance.
  39. config ADK_KERNEL_BUG
  40. bool "Enable BUGS()"
  41. help
  42. Enable if you need BUGS() in the kernel.
  43. config ADK_KERNEL_COREDUMP
  44. bool "Enable coredumps"
  45. help
  46. Enable if you need coredumps.
  47. config ADK_KERNEL_NETCONSOLE
  48. bool "Netconsole support"
  49. help
  50. Activate netconsole. netconsole=@/,@192.168.1.2/
  51. config ADK_PARAMETER_NETCONSOLE_SRC_IP
  52. prompt "IP address for source"
  53. string
  54. default "192.168.1.100"
  55. depends on ADK_KERNEL_NETCONSOLE
  56. help
  57. source ip address logging from.
  58. config ADK_PARAMETER_NETCONSOLE_DST_IP
  59. prompt "IP address for target"
  60. string
  61. default "192.168.1.2"
  62. depends on ADK_KERNEL_NETCONSOLE
  63. help
  64. ip address logging to.
  65. config ADK_KERNEL_MAGIC_SYSRQ
  66. bool "Magic BREAK sequence"
  67. default y
  68. help
  69. Enable this to be able to use the Magic SysRq functions,
  70. probably using a serial console break.
  71. config ADK_KERNEL_DEBUG_FS
  72. bool "Debug Filesystem"
  73. default n
  74. help
  75. debugfs is a virtual file system that kernel developers use to put
  76. debugging files into. Enable this option to be able to read and
  77. write to these files.
  78. config ADK_KERNEL_DEBUG_INFO
  79. bool "Debug info"
  80. config ADK_KERNEL_DEBUG_WITH_KGDB
  81. bool "Enable remote kernel debugging using KGDB"
  82. select ADK_KERNEL_DEBUG_KERNEL
  83. select ADK_KERNEL_DEBUG_INFO
  84. select ADK_KERNEL_KGDB
  85. select ADK_KERNEL_KGDB_SERIAL_CONSOLE
  86. select ADK_KERNEL_FRAME_POINTER
  87. depends on ADK_TARGET_ROOTFS_NFSROOT || \
  88. ADK_TARGET_ROOTFS_ARCHIVE || \
  89. ADK_TARGET_ROOTFS_INITRAMFS || \
  90. ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  91. default n
  92. config ADK_KERNEL_OPROFILE
  93. tristate "Oprofile support"
  94. select ADK_KERNEL_PROFILING
  95. depends on !ADK_TARGET_ARCH_M68K
  96. default n
  97. help
  98. use oprofile package to make use of the kernel support.
  99. config ADK_KERNEL_KALLSYMS
  100. bool "Support for symbol names in OOPS"
  101. select ADK_KERNEL_KALLSYMS_ALL
  102. default n
  103. help
  104. Load all symbols to the kernel.
  105. endmenu