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_ELF_CORE
62 config ADK_KERNEL_COREDUMP
63 bool "Enable coredumps"
64 select ADK_KERNEL_ELF_CORE
66 Enable if you need coredumps.
68 config ADK_KERNEL_NETCONSOLE
69 bool "Netconsole support"
71 Activate netconsole. netconsole=@/,@192.168.1.2/
73 config ADK_PARAMETER_NETCONSOLE_SRC_IP
74 prompt "IP address for source"
76 default "192.168.1.100"
77 depends on ADK_KERNEL_NETCONSOLE
79 source ip address logging from.
81 config ADK_PARAMETER_NETCONSOLE_DST_IP
82 prompt "IP address for target"
85 depends on ADK_KERNEL_NETCONSOLE
87 ip address logging to.
89 config ADK_KERNEL_MAGIC_SYSRQ
90 bool "Magic BREAK sequence"
93 Enable this to be able to use the Magic SysRq functions,
94 probably using a serial console break.
96 config ADK_KERNEL_DEBUG_FS
97 bool "Debug Filesystem"
100 debugfs is a virtual file system that kernel developers use to put
101 debugging files into. Enable this option to be able to read and
102 write to these files.
104 config ADK_KERNEL_DEBUG_INFO
107 config ADK_KERNEL_DEBUG_WITH_KGDB
108 bool "Enable remote kernel debugging using KGDB"
109 select ADK_KERNEL_DEBUG_KERNEL
110 select ADK_KERNEL_DEBUG_INFO
111 select ADK_KERNEL_KGDB
112 select ADK_KERNEL_KGDB_SERIAL_CONSOLE
113 select ADK_KERNEL_FRAME_POINTER
114 depends on ADK_TARGET_ROOTFS_NFSROOT || \
115 ADK_TARGET_ROOTFS_ARCHIVE || \
116 ADK_TARGET_ROOTFS_INITRAMFS || \
117 ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
120 config ADK_KERNEL_OPROFILE
121 tristate "Oprofile support"
122 select ADK_KERNEL_PROFILING
123 depends on !ADK_TARGET_ARCH_M68K
126 use oprofile package to make use of the kernel support.
128 config ADK_KERNEL_KALLSYMS
129 bool "Support for symbol names in OOPS"
130 select ADK_KERNEL_KALLSYMS_ALL
133 Load all symbols to the kernel.