summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.debug
blob: 900fc93ae279ca6428f0856c7d13751f6a291ebb (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

menu "Kernel debugging"

config ADK_KERNEL_FTRACE
	bool

config ADK_KERNEL_GENERIC_TRACER
	bool

config ADK_KERNEL_FUNCTION_TRACER
	bool

config ADK_KERNEL_PROFILING
	bool

config ADK_KERNEL_DEBUG_KERNEL
	bool

config ADK_KERNEL_DEBUG_INFO
	bool

config ADK_KERNEL_KGDB
	bool

config ADK_KERNEL_KGDB_SERIAL_CONSOLE
	bool

config ADK_KERNEL_FRAME_POINTER
	bool

config ADK_KERNEL_EARLY_PRINTK
	bool

config ADK_KERNEL_KALLSYMS_ALL
	bool

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

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

config ADK_KERNEL_BUG
	bool "Enable BUGS()"
	help
	  Enable if you need BUGS() in the kernel.

config ADK_KERNEL_COREDUMP
	bool "Enable coredumps"
	help
	  Enable if you need coredumps.

config ADK_KERNEL_NETCONSOLE
	bool "Netconsole support"
	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
	bool "Magic BREAK sequence"
	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
	bool "Debug Filesystem"
	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
	bool "Debug info"

config ADK_KERNEL_DEBUG_WITH_KGDB
	bool "Enable remote kernel debugging using KGDB"
	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
	tristate "Oprofile support"
	select ADK_KERNEL_PROFILING
	depends on !ADK_TARGET_ARCH_M68K
	depends on !ADK_KERNEL_PREEMPT_RT_FULL
	default n
	help
	  use oprofile package to make use of the kernel support.

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

endmenu