123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- #--------------------------------
- # Kernel hacking
- #--------------------------------
- menu "Kernel hacking"
- choice
- prompt "Kernel version"
- config KERNEL_VERSION_2_6_35_9
- bool "2.6.35.9"
- config KERNEL_VERSION_3_0_8
- bool "3.0.8"
- endchoice
- config CORE_DUMP
- bool "Core dump support"
- default n
- help
- Dump all contents in current stack while exception.
- Force select "Build static executable files" for easy debug.
- config CORE_DUMP_PATH
- string "Core dump path"
- depends on CORE_DUMP
- default "/mnt/sda1"
- help
- Core dump file will be generated in this path.
- Please set to the path of USB flash
-
- config CALL_TRACE
- bool "Call trace support"
- default n
- help
- 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
- config DMALLOC
- bool "Dmalloc - Debug Malloc Library"
- default n
- help
- Debug memory leak SOP:
- 1. mon dmleak
- 2. mon dmleak
- 3. decode by GDB
- http://dmalloc.com/
- 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.
-
- config MEMWATCH
- bool "MemWatch - Debug MemWatch Library"
- default n
- help
- Debug memory SOP:
- 1. mon mwatch
- 2. add "memwatch.h" at the file which you want to check.
- 3. mon mwatch
-
- config GCOV_APPLICATION
- bool "gcov application"
- default n
- help
- gcov is a tool you can use in conjunction with GCC to test code coverage in your programs
- config MINIBOX_EX_TOOL
- bool "Minibox additional tool"
- depends on NOT_USEBB
- default n
- help
- Additional tool of minibox : irq_cnt/ thrd_top
-
- config MINIBOX_IRQ_CNT
- bool "IRQ occurrence and time analysis tool"
- depends on MINIBOX_EX_TOOL
- default n
- help
- Type irq_cnt to use it.
-
- config MINIBOX_THRD_TOP
- bool "CPU usage analysis tool"
- depends on MINIBOX_EX_TOOL
- default n
- help
- Type thrd_top to use it.
-
- config STORE_MSG_TO_USB
- bool
- prompt "Store debug message to USB"
- default n
- help
- Store Debug mesage to USB
- config AUTO_USB_STORE_IRSEQ
- bool "Store IR sequence to USB"
- default n
- help
- Store IR sequence to USB
- config KERNEL_GC_SECTION
- bool "garbage collection SECTION in kernel"
- depends on GCC473
- default n
- help
- reduce code size in kernel, depends on GCC473
-
- config STATIC_UCLIBC
- bool "STATIC_UCLIBC support"
- default n
- menu "Kernel debug configure"
- config KALLSYMS_MENU
- bool "Load all symbols for debugging/ksymoops"
- default n
- help
- Say Y here to let the kernel print out symbolic crash information and
- symbolic stack backtraces. This increases the size of the kernel
- somewhat, as all symbols have to be loaded into the kernel image
- config TRACING_KERNEL
- bool "Enable the kernel tracing infrastructure."
- default n
- help
- Say Y here can tracing kernel memory usage.
- see tools/trace_analyze-master/trace_analyze_SOP.txt for more details.
- config T1_KERNEL_CRASH_SHELL
- bool "Enable T1 Kernel crash shell"
- default n
- help
- Say Y here can have a shell when kernel crash.
- endmenu # Kernel debug configure
- endmenu # Kernel hacking
|