1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 menu "Kernel debugging"
6 config ADK_KERNEL_FTRACE
9 config ADK_KERNEL_GENERIC_TRACER
12 config ADK_KERNEL_FUNCTION_TRACER
15 config ADK_KERNEL_PROFILING
18 config ADK_KERNEL_DEBUG_KERNEL
21 config ADK_KERNEL_DEBUG_INFO
24 config ADK_KERNEL_KGDB
27 config ADK_KERNEL_KGDB_SERIAL_CONSOLE
30 config ADK_KERNEL_FRAME_POINTER
33 config ADK_KERNEL_EARLY_PRINTK
36 config ADK_KERNEL_KALLSYMS_ALL
39 config ADK_KERNEL_PRINTK
40 bool "printk support (disable to save space and quieten bootup)"
41 select ADK_KERNEL_EARLY_PRINTK
44 Disable printk to save space and quieten bootup.
46 config ADK_KERNEL_PRINTK_TIME
47 bool "timing information for printk"
48 depends on ADK_KERNEL_PRINTK
51 Enable timing information for printk, to analyze kernel
57 Enable if you need BUGS() in the kernel.
59 config ADK_KERNEL_COREDUMP
60 bool "Enable coredumps"
62 Enable if you need coredumps.
64 config ADK_KERNEL_NETCONSOLE
65 bool "Netconsole support"
67 Activate netconsole. netconsole=@/,@192.168.1.2/
69 config ADK_PARAMETER_NETCONSOLE_SRC_IP
70 prompt "IP address for source"
72 default "192.168.1.100"
73 depends on ADK_KERNEL_NETCONSOLE
75 source ip address logging from.
77 config ADK_PARAMETER_NETCONSOLE_DST_IP
78 prompt "IP address for target"
81 depends on ADK_KERNEL_NETCONSOLE
83 ip address logging to.
85 config ADK_KERNEL_MAGIC_SYSRQ
86 bool "Magic BREAK sequence"
89 Enable this to be able to use the Magic SysRq functions,
90 probably using a serial console break.
92 config ADK_KERNEL_DEBUG_FS
93 bool "Debug Filesystem"
96 debugfs is a virtual file system that kernel developers use to put
97 debugging files into. Enable this option to be able to read and
100 config ADK_KERNEL_DEBUG_INFO
103 config ADK_KERNEL_DEBUG_WITH_KGDB
104 bool "Enable remote kernel debugging using KGDB"
105 select ADK_KERNEL_DEBUG_KERNEL
106 select ADK_KERNEL_DEBUG_INFO
107 select ADK_KERNEL_KGDB
108 select ADK_KERNEL_KGDB_SERIAL_CONSOLE
109 select ADK_KERNEL_FRAME_POINTER
110 depends on ADK_TARGET_ROOTFS_NFSROOT || \
111 ADK_TARGET_ROOTFS_ARCHIVE || \
112 ADK_TARGET_ROOTFS_INITRAMFS || \
113 ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
116 config ADK_KERNEL_OPROFILE
117 tristate "Oprofile support"
118 select ADK_KERNEL_PROFILING
119 depends on !ADK_TARGET_ARCH_M68K
122 use oprofile package to make use of the kernel support.
124 config ADK_KERNEL_KALLSYMS
125 bool "Support for symbol names in OOPS"
126 select ADK_KERNEL_KALLSYMS_ALL
129 Load all symbols to the kernel.