1
0

Config.in.debug 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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_YAFFS || \
  90. ADK_TARGET_ROOTFS_INITRAMFS || \
  91. ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  92. default n
  93. config ADK_KERNEL_OPROFILE
  94. tristate "Oprofile support"
  95. select ADK_KERNEL_PROFILING
  96. depends on !ADK_TARGET_ARCH_M68K
  97. depends on !ADK_KERNEL_PREEMPT_RT_FULL
  98. default n
  99. help
  100. use oprofile package to make use of the kernel support.
  101. config ADK_KERNEL_KALLSYMS
  102. bool "Support for symbol names in OOPS"
  103. select ADK_KERNEL_KALLSYMS_ALL
  104. default n
  105. help
  106. Load all symbols to the kernel.
  107. endmenu