1
0

Config.in.debug 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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 if !ADK_APPLIANCE_TEST
  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. help
  36. Enable timing information for printk, to analyze kernel
  37. bootup performance.
  38. config ADK_KERNEL_BUG
  39. bool "Enable BUGS()"
  40. help
  41. Enable if you need BUGS() in the kernel.
  42. config ADK_KERNEL_COREDUMP
  43. bool "Enable coredumps"
  44. help
  45. Enable if you need coredumps.
  46. config ADK_KERNEL_NETCONSOLE
  47. bool "Netconsole support"
  48. help
  49. Activate netconsole. netconsole=@/,@192.168.1.2/
  50. config ADK_PARAMETER_NETCONSOLE_SRC_IP
  51. prompt "IP address for source"
  52. string
  53. default "192.168.1.100"
  54. depends on ADK_KERNEL_NETCONSOLE
  55. help
  56. source ip address logging from.
  57. config ADK_PARAMETER_NETCONSOLE_DST_IP
  58. prompt "IP address for target"
  59. string
  60. default "192.168.1.2"
  61. depends on ADK_KERNEL_NETCONSOLE
  62. help
  63. ip address logging to.
  64. config ADK_KERNEL_MAGIC_SYSRQ
  65. bool "Magic BREAK sequence"
  66. default y
  67. help
  68. Enable this to be able to use the Magic SysRq functions,
  69. probably using a serial console break.
  70. config ADK_KERNEL_DEBUG_FS
  71. bool "Debug Filesystem"
  72. default n
  73. help
  74. debugfs is a virtual file system that kernel developers use to put
  75. debugging files into. Enable this option to be able to read and
  76. write to these files.
  77. config ADK_KERNEL_DEBUG_INFO
  78. bool "Debug info"
  79. config ADK_KERNEL_DEBUG_WITH_KGDB
  80. bool "Enable remote kernel debugging using KGDB"
  81. select ADK_KERNEL_DEBUG_KERNEL
  82. select ADK_KERNEL_DEBUG_INFO
  83. select ADK_KERNEL_KGDB
  84. select ADK_KERNEL_KGDB_SERIAL_CONSOLE
  85. select ADK_KERNEL_FRAME_POINTER
  86. depends on ADK_TARGET_ROOTFS_NFSROOT || \
  87. ADK_TARGET_ROOTFS_ARCHIVE || \
  88. ADK_TARGET_ROOTFS_YAFFS || \
  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. depends on !ADK_KERNEL_PREEMPT_RT_FULL
  97. default n
  98. help
  99. use oprofile package to make use of the kernel support.
  100. config ADK_KERNEL_KALLSYMS
  101. bool "Support for symbol names in OOPS"
  102. select ADK_KERNEL_KALLSYMS_ALL
  103. default n
  104. help
  105. Load all symbols to the kernel.
  106. endmenu