Kconfig.kernel 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #--------------------------------
  2. # Kernel hacking
  3. #--------------------------------
  4. menu "Kernel hacking"
  5. choice
  6. prompt "Kernel version"
  7. config KERNEL_VERSION_2_6_35_9
  8. bool "2.6.35.9"
  9. config KERNEL_VERSION_3_0_8
  10. bool "3.0.8"
  11. endchoice
  12. config CORE_DUMP
  13. bool "Core dump support"
  14. default n
  15. help
  16. Dump all contents in current stack while exception.
  17. Force select "Build static executable files" for easy debug.
  18. config CORE_DUMP_PATH
  19. string "Core dump path"
  20. depends on CORE_DUMP
  21. default "/mnt/sda1"
  22. help
  23. Core dump file will be generated in this path.
  24. Please set to the path of USB flash
  25. config CALL_TRACE
  26. bool "Call trace support"
  27. default n
  28. help
  29. This is on by default but you won't see any trace output unless you compiled applications with trace support. This is a very processor heavy option and will instrument all function entry and exit points
  30. config DMALLOC
  31. bool "Dmalloc - Debug Malloc Library"
  32. default n
  33. help
  34. Debug memory leak SOP:
  35. 1. mon dmleak
  36. 2. mon dmleak
  37. 3. decode by GDB
  38. http://dmalloc.com/
  39. The debug memory allocation or dmalloc library has been designed as a drop in replacement for the system's malloc, realloc, calloc, free and other memory management routines while providing powerful debugging facilities configurable at runtime. These facilities include such things as memory-leak tracking, fence-post write detection, file/line number reporting, and general logging of statistics.
  40. config MEMWATCH
  41. bool "MemWatch - Debug MemWatch Library"
  42. default n
  43. help
  44. Debug memory SOP:
  45. 1. mon mwatch
  46. 2. add "memwatch.h" at the file which you want to check.
  47. 3. mon mwatch
  48. config GCOV_APPLICATION
  49. bool "gcov application"
  50. default n
  51. help
  52. gcov is a tool you can use in conjunction with GCC to test code coverage in your programs
  53. config MINIBOX_EX_TOOL
  54. bool "Minibox additional tool"
  55. depends on NOT_USEBB
  56. default n
  57. help
  58. Additional tool of minibox : irq_cnt/ thrd_top
  59. config MINIBOX_IRQ_CNT
  60. bool "IRQ occurrence and time analysis tool"
  61. depends on MINIBOX_EX_TOOL
  62. default n
  63. help
  64. Type irq_cnt to use it.
  65. config MINIBOX_THRD_TOP
  66. bool "CPU usage analysis tool"
  67. depends on MINIBOX_EX_TOOL
  68. default n
  69. help
  70. Type thrd_top to use it.
  71. config STORE_MSG_TO_USB
  72. bool
  73. prompt "Store debug message to USB"
  74. default n
  75. help
  76. Store Debug mesage to USB
  77. config AUTO_USB_STORE_IRSEQ
  78. bool "Store IR sequence to USB"
  79. default n
  80. help
  81. Store IR sequence to USB
  82. config KERNEL_GC_SECTION
  83. bool "garbage collection SECTION in kernel"
  84. depends on GCC473
  85. default n
  86. help
  87. reduce code size in kernel, depends on GCC473
  88. config STATIC_UCLIBC
  89. bool "STATIC_UCLIBC support"
  90. default n
  91. menu "Kernel debug configure"
  92. config KALLSYMS_MENU
  93. bool "Load all symbols for debugging/ksymoops"
  94. default n
  95. help
  96. Say Y here to let the kernel print out symbolic crash information and
  97. symbolic stack backtraces. This increases the size of the kernel
  98. somewhat, as all symbols have to be loaded into the kernel image
  99. config TRACING_KERNEL
  100. bool "Enable the kernel tracing infrastructure."
  101. default n
  102. help
  103. Say Y here can tracing kernel memory usage.
  104. see tools/trace_analyze-master/trace_analyze_SOP.txt for more details.
  105. config T1_KERNEL_CRASH_SHELL
  106. bool "Enable T1 Kernel crash shell"
  107. default n
  108. help
  109. Say Y here can have a shell when kernel crash.
  110. endmenu # Kernel debug configure
  111. endmenu # Kernel hacking