summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.debug
blob: a2287f5f5177784bb8854cb9b4446a9eae62832b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
menu "Kernel debugging"

config ADK_KERNEL_PROFILING
	boolean

config ADK_KERNEL_DEBUG_KERNEL
	boolean

config ADK_KERNEL_DEBUG_INFO
	boolean

config ADK_KERNEL_KGDB
	boolean

config ADK_KERNEL_KGDB_SERIAL_CONSOLE
	boolean

config ADK_KERNEL_FRAME_POINTER
	boolean

config ADK_KERNEL_EARLY_PRINTK
	boolean
	default n

config ADK_KERNEL_KALLSYMS_ALL
	boolean

config ADK_KERNEL_PRINTK
	prompt "printk support (disable to save space and quieten bootup)"
	boolean
	select ADK_KERNEL_EARLY_PRINTK
	default y
	help
	  Disable printk to save space and quieten bootup.

config ADK_KERNEL_PRINTK_TIME
	prompt "timing information for printk"
	boolean
	depends on ADK_KERNEL_PRINTK
	default n
	help
	  Enable timing information for printk, to analyze kernel
	  bootup performance.

config ADK_KERNEL_BUG
	prompt "Enable BUGS()"
	boolean
	default n
	help
	  Enable if you need BUGS() in the kernel.

config ADK_KERNEL_COREDUMP
	prompt "Enable coredumps"
	boolean
	default y if ADK_PACKAGE_LTP
	default n
	help
	  Enable if you need coredumps.

config ADK_KERNEL_NETCONSOLE
	prompt "Netconsole support"
	boolean
	default n
	help
	  Activate netconsole. netconsole=@/,@192.168.1.2/

config ADK_PARAMETER_NETCONSOLE_SRC_IP
	prompt "IP address for source"
	string
	default "192.168.1.100"
	depends on ADK_KERNEL_NETCONSOLE
	help
       	  source ip address logging from.

config ADK_PARAMETER_NETCONSOLE_DST_IP
	prompt "IP address for target"
	string
	default "192.168.1.2"
	depends on ADK_KERNEL_NETCONSOLE
	help
       	  ip address logging to.

config ADK_KERNEL_MAGIC_SYSRQ
	prompt "Magic BREAK sequence"
	boolean
	default y
	help
	  Enable this to be able to use the Magic SysRq functions,
	  probably using a serial console break.

config ADK_KERNEL_DEBUG_FS
	prompt "Debug Filesystem"
	boolean
	default n
	help
	  debugfs is a virtual file system that kernel developers use to put
	  debugging files into.  Enable this option to be able to read and
	  write to these files.

config ADK_KERNEL_DEBUG_INFO
	prompt "Debug info"
	boolean
	default n
	help

config ADK_KERNEL_DEBUG_WITH_KGDB
	prompt "Enable remote kernel debugging using KGDB"
	boolean
	select ADK_KERNEL_DEBUG_KERNEL
	select ADK_KERNEL_DEBUG_INFO
	select ADK_KERNEL_KGDB
	select ADK_KERNEL_KGDB_SERIAL_CONSOLE
	select ADK_KERNEL_FRAME_POINTER
	depends on ADK_TARGET_ROOTFS_NFSROOT || \
		ADK_TARGET_ROOTFS_ARCHIVE || \
		ADK_TARGET_ROOTFS_YAFFS || \
		ADK_TARGET_ROOTFS_INITRAMFS || \
		ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
	default n

config ADK_KERNEL_OPROFILE
	prompt "Oprofile support"
	tristate
	select ADK_KERNEL_PROFILING
	depends on !ADK_TARGET_ARCH_M68K
	default m if ADK_PACKAGE_OPROFILE
	default n
	help
	 use oprofile package to make use of the kernel support.

config ADK_KERNEL_KALLSYMS
	prompt "Support for symbol names in OOPS"
	boolean
	select ADK_KERNEL_KALLSYMS_ALL
	default n
	help
	 Load all symbols to the kernel.

endmenu