Config.in.debug 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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_LINUX_KERNEL_FTRACE
  5. bool
  6. config ADK_LINUX_KERNEL_GENERIC_TRACER
  7. bool
  8. config ADK_LINUX_KERNEL_FUNCTION_TRACER
  9. bool
  10. config ADK_LINUX_KERNEL_PROFILING
  11. bool
  12. config ADK_LINUX_KERNEL_DEBUG_KERNEL
  13. bool
  14. config ADK_LINUX_KERNEL_DEBUG_INFO
  15. bool
  16. config ADK_LINUX_KERNEL_KGDB
  17. bool
  18. config ADK_LINUX_KERNEL_KGDB_SERIAL_CONSOLE
  19. bool
  20. config ADK_LINUX_KERNEL_FRAME_POINTER
  21. bool
  22. config ADK_LINUX_KERNEL_EARLY_PRINTK
  23. bool
  24. config ADK_LINUX_KERNEL_KALLSYMS_ALL
  25. bool
  26. config ADK_LINUX_KERNEL_PRINTK
  27. bool "printk support (disable to save space and quieten bootup)"
  28. select ADK_LINUX_KERNEL_EARLY_PRINTK
  29. default y
  30. help
  31. Disable printk to save space and quieten bootup.
  32. config ADK_LINUX_KERNEL_PRINTK_TIME
  33. bool "timing information for printk"
  34. depends on ADK_LINUX_KERNEL_PRINTK
  35. default y
  36. help
  37. Enable timing information for printk, to analyze kernel
  38. bootup performance.
  39. config ADK_LINUX_KERNEL_BUG
  40. bool "Enable BUGS()"
  41. help
  42. Enable if you need BUGS() in the kernel.
  43. config ADK_LINUX_KERNEL_ELF_CORE
  44. bool
  45. config ADK_LINUX_KERNEL_COREDUMP
  46. bool "Enable coredumps"
  47. select ADK_LINUX_KERNEL_ELF_CORE
  48. help
  49. Enable if you need coredumps.
  50. config ADK_LINUX_KERNEL_NETCONSOLE
  51. bool "Netconsole support"
  52. help
  53. Activate netconsole. netconsole=@/,@192.168.1.2/
  54. config ADK_PARAMETER_NETCONSOLE_SRC_IP
  55. prompt "IP address for source"
  56. string
  57. default "192.168.1.100"
  58. depends on ADK_LINUX_KERNEL_NETCONSOLE
  59. help
  60. source ip address logging from.
  61. config ADK_PARAMETER_NETCONSOLE_DST_IP
  62. prompt "IP address for target"
  63. string
  64. default "192.168.1.2"
  65. depends on ADK_LINUX_KERNEL_NETCONSOLE
  66. help
  67. ip address logging to.
  68. config ADK_LINUX_KERNEL_MAGIC_SYSRQ
  69. bool "Magic BREAK sequence"
  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_LINUX_KERNEL_DEBUG_FS
  75. bool "Debug Filesystem"
  76. default n
  77. help
  78. debugfs is a virtual file system that kernel developers use to put
  79. debugging files into. Enable this option to be able to read and
  80. write to these files.
  81. config ADK_LINUX_KERNEL_DEBUG_INFO
  82. bool "Debug info"
  83. config ADK_LINUX_KERNEL_DEBUG_WITH_KGDB
  84. bool "Enable remote kernel debugging using KGDB"
  85. select ADK_LINUX_KERNEL_DEBUG_KERNEL
  86. select ADK_LINUX_KERNEL_DEBUG_INFO
  87. select ADK_LINUX_KERNEL_KGDB
  88. select ADK_LINUX_KERNEL_KGDB_SERIAL_CONSOLE
  89. select ADK_LINUX_KERNEL_FRAME_POINTER
  90. depends on ADK_TARGET_ROOTFS_NFSROOT || \
  91. ADK_TARGET_ROOTFS_ARCHIVE || \
  92. ADK_TARGET_ROOTFS_INITRAMFS || \
  93. ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  94. default n
  95. config ADK_LINUX_KERNEL_OPROFILE
  96. tristate "Oprofile support"
  97. select ADK_LINUX_KERNEL_PROFILING
  98. depends on !ADK_TARGET_ARCH_M68K
  99. default n
  100. help
  101. use oprofile package to make use of the kernel support.
  102. config ADK_LINUX_KERNEL_KALLSYMS
  103. bool "Support for symbol names in OOPS"
  104. select ADK_LINUX_KERNEL_KALLSYMS_ALL
  105. default n
  106. help
  107. Load all symbols to the kernel.
  108. endmenu