Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | menu "Kernel hacking" |
2 | ||
3 | source "lib/Kconfig.debug" | |
4 | ||
5 | config DEBUG_STACKOVERFLOW | |
6 | bool "Check for stack overflows" | |
7 | depends on DEBUG_KERNEL | |
e685752d JJ |
8 | help |
9 | This option will cause messages to be printed if free stack space | |
10 | drops below a certain limit. | |
1da177e4 LT |
11 | |
12 | config KPROBES | |
13 | bool "Kprobes" | |
14 | depends on DEBUG_KERNEL | |
15 | help | |
16 | Kprobes allows you to trap at almost any kernel address and | |
17 | execute a callback function. register_kprobe() establishes | |
18 | a probepoint and specifies the callback. Kprobes is useful | |
19 | for kernel debugging, non-intrusive instrumentation and testing. | |
20 | If in doubt, say "N". | |
21 | ||
22 | config DEBUG_STACK_USAGE | |
23 | bool "Stack utilization instrumentation" | |
24 | depends on DEBUG_KERNEL | |
25 | help | |
26 | Enables the display of the minimum amount of free stack which each | |
27 | task has ever had available in the sysrq-T and sysrq-P debug output. | |
28 | ||
29 | This option will slow down process creation somewhat. | |
30 | ||
31 | config DEBUGGER | |
32 | bool "Enable debugger hooks" | |
33 | depends on DEBUG_KERNEL | |
34 | help | |
35 | Include in-kernel hooks for kernel debuggers. Unless you are | |
36 | intending to debug the kernel, say N here. | |
37 | ||
38 | config XMON | |
39 | bool "Include xmon kernel debugger" | |
40 | depends on DEBUGGER && !PPC_ISERIES | |
41 | help | |
42 | Include in-kernel hooks for the xmon kernel monitor/debugger. | |
43 | Unless you are intending to debug the kernel, say N here. | |
44 | ||
45 | config XMON_DEFAULT | |
46 | bool "Enable xmon by default" | |
47 | depends on XMON | |
48 | ||
49 | config PPCDBG | |
50 | bool "Include PPCDBG realtime debugging" | |
51 | depends on DEBUG_KERNEL | |
52 | ||
53 | config IRQSTACKS | |
54 | bool "Use separate kernel stacks when processing interrupts" | |
55 | help | |
56 | If you say Y here the kernel will use separate kernel stacks | |
57 | for handling hard and soft interrupts. This can help avoid | |
58 | overflowing the process kernel stacks. | |
59 | ||
60 | endmenu |