2 bool "Kernel debugging"
4 Say Y here if you are developing drivers or trying to debug and
5 identify kernel problems.
8 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
12 Select kernel log buffer size as a power of 2.
13 Defaults and Examples:
22 bool "Mutex debugging, deadlock detection"
24 depends on DEBUG_KERNEL
26 This allows mutex semantics violations and mutex related deadlocks
27 (lockups) to be detected and reported automatically.
30 bool "Spinlock debugging"
31 depends on DEBUG_KERNEL
33 Say Y here and build SMP to catch missing spinlock initialization
34 and certain other kinds of spinlock errors commonly made. This is
35 best used in conjunction with the NMI watchdog so that spinlock
36 deadlocks are also debuggable.
38 config DEBUG_SPINLOCK_SLEEP
39 bool "Sleep-inside-spinlock checking"
40 depends on DEBUG_KERNEL
42 If you say Y here, various routines which may sleep will become very
43 noisy if they are called with a spinlock held.
45 config DEBUG_BUGVERBOSE
46 bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED
48 depends on ARM || ARM26 || M32R || M68K || SPARC32 || SPARC64 || X86_32 || FRV
51 Say Y here to make BUG() panics output the file name and line number
52 of the BUG call as well as the EIP and oops trace. This aids
53 debugging but costs about 70-100K of memory.
56 bool "Compile the kernel with debug info"
57 depends on DEBUG_KERNEL
59 If you say Y here the resulting kernel image will include
60 debugging info resulting in a larger kernel image.
61 Say Y here only if you plan to debug the kernel.
66 bool "Compile the kernel with frame pointers"
67 depends on DEBUG_KERNEL
68 default y if DEBUG_INFO && UML
70 If you say Y here the resulting kernel image will be slightly larger
71 and slower, but it might give very useful debugging information on
72 some architectures or if you use external debuggers.
73 If you don't debug the kernel, you can say N.
76 bool "Compile the kernel with frame unwind information"
78 depends on !MODULES || !(MIPS || PARISC || PPC || SUPERH || V850)
80 If you say Y here the resulting kernel image will be slightly larger
81 but not slower, and it will give very useful debugging information.
82 If you don't debug the kernel, you can say N, but we may not be able
83 to solve problems without frame unwind information or frame pointers.
85 config FORCED_INLINING
86 bool "Force gcc to inline functions marked 'inline'"
87 depends on DEBUG_KERNEL
90 This option determines if the kernel forces gcc to inline the functions
91 developers have marked 'inline'. Doing so takes away freedom from gcc to
92 do what it thinks is best, which is desirable for the gcc 3.x series of
93 compilers. The gcc 4.x series have a rewritten inlining algorithm and
94 disabling this option will generate a smaller kernel there. Hopefully
95 this algorithm is so good that allowing gcc4 to make the decision can
96 become the default in the future, until then this option is there to