Config.in.debug 2.8 KB

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