diff options
Diffstat (limited to 'arch/blackfin/Kconfig.debug')
-rw-r--r-- | arch/blackfin/Kconfig.debug | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/arch/blackfin/Kconfig.debug b/arch/blackfin/Kconfig.debug index 3ad25983ec97..5f981d9ca625 100644 --- a/arch/blackfin/Kconfig.debug +++ b/arch/blackfin/Kconfig.debug | |||
@@ -2,8 +2,30 @@ menu "Kernel hacking" | |||
2 | 2 | ||
3 | source "lib/Kconfig.debug" | 3 | source "lib/Kconfig.debug" |
4 | 4 | ||
5 | config DEBUG_STACKOVERFLOW | ||
6 | bool "Check for stack overflows" | ||
7 | depends on DEBUG_KERNEL | ||
8 | help | ||
9 | This option will cause messages to be printed if free stack space | ||
10 | drops below a certain limit. | ||
11 | |||
12 | config DEBUG_STACK_USAGE | ||
13 | bool "Enable stack utilization instrumentation" | ||
14 | depends on DEBUG_KERNEL | ||
15 | help | ||
16 | Enables the display of the minimum amount of free stack which each | ||
17 | task has ever had available in the sysrq-T output. | ||
18 | |||
19 | This option will slow down process creation somewhat. | ||
20 | |||
5 | config HAVE_ARCH_KGDB | 21 | config HAVE_ARCH_KGDB |
6 | def_bool y | 22 | def_bool y |
23 | |||
24 | config KGDB_TESTCASE | ||
25 | tristate "KGDB: for test case in expect" | ||
26 | default n | ||
27 | help | ||
28 | This is a kgdb test case for automated testing. | ||
7 | 29 | ||
8 | config DEBUG_VERBOSE | 30 | config DEBUG_VERBOSE |
9 | bool "Verbose fault messages" | 31 | bool "Verbose fault messages" |
@@ -182,11 +204,11 @@ config DEBUG_BFIN_HWTRACE_EXPAND_LEN | |||
182 | 4 for (2^4) 16k, or 4096 entries | 204 | 4 for (2^4) 16k, or 4096 entries |
183 | 205 | ||
184 | config DEBUG_BFIN_NO_KERN_HWTRACE | 206 | config DEBUG_BFIN_NO_KERN_HWTRACE |
185 | bool "Trace user apps (turn off hwtrace in kernel)" | 207 | bool "Turn off hwtrace in CPLB handlers" |
186 | depends on DEBUG_BFIN_HWTRACE_ON | 208 | depends on DEBUG_BFIN_HWTRACE_ON |
187 | default n | 209 | default y |
188 | help | 210 | help |
189 | Some pieces of the kernel contain a lot of flow changes which can | 211 | The CPLB error handler contains a lot of flow changes which can |
190 | quickly fill up the hardware trace buffer. When debugging crashes, | 212 | quickly fill up the hardware trace buffer. When debugging crashes, |
191 | the hardware trace may indicate that the problem lies in kernel | 213 | the hardware trace may indicate that the problem lies in kernel |
192 | space when in reality an application is buggy. | 214 | space when in reality an application is buggy. |