blob: 23817bc7a26acc78c6497c50842653b47e1b92ae [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
Ralf Baechle192ef362006-07-07 14:07:18 +01003config TRACE_IRQFLAGS_SUPPORT
4 bool
5 default y
6
Linus Torvalds1da177e2005-04-16 15:20:36 -07007source "lib/Kconfig.debug"
8
Ralf Baechle4dd92e12009-12-17 01:57:30 +00009config EARLY_PRINTK
10 bool "Early printk" if EMBEDDED
11 depends on SYS_HAS_EARLY_PRINTK
12 default y
13 help
14 This option enables special console drivers which allow the kernel
15 to print messages very early in the bootup process.
16
17 This is useful for kernel debugging when your machine crashes very
18 early before the console code is initialized. For normal operation,
19 it is not recommended because it looks ugly on some machines and
20 doesn't cooperate with an X server. You should normally say N here,
21 unless you want to debug such a crash.
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config CMDLINE
24 string "Default kernel command string"
25 default ""
26 help
Jan Altenberg3e7f9b822007-01-25 20:46:14 +010027 On some platforms, there is currently no way for the boot loader to
28 pass arguments to the kernel. For these platforms, you can supply
29 some command-line options at build time by entering them here. In
30 other cases you can specify kernel args so that you don't have
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 to set them up in board prom initialization routines.
32
33config DEBUG_STACK_USAGE
34 bool "Enable stack utilization instrumentation"
35 depends on DEBUG_KERNEL
36 help
37 Enables the display of the minimum amount of free stack which each
38 task has ever had available in the sysrq-T and sysrq-P debug output.
39
40 This option will slow down process creation somewhat.
41
Ralf Baechle93490752007-07-05 17:39:48 +010042config SMTC_IDLE_HOOK_DEBUG
Ralf Baechlec68644d2007-02-26 20:46:34 +000043 bool "Enable additional debug checks before going into CPU idle loop"
44 depends on DEBUG_KERNEL && MIPS_MT_SMTC
45 help
46 This option enables Enable additional debug checks before going into
47 CPU idle loop. For details on these checks, see
48 arch/mips/kernel/smtc.c. This debugging option result in significant
49 overhead so should be disabled in production kernels.
50
Linus Torvalds1da177e2005-04-16 15:20:36 -070051config SB1XXX_CORELIS
52 bool "Corelis Debugger"
53 depends on SIBYTE_SB1xxx_SOC
54 select DEBUG_INFO
55 help
56 Select compile flags that produce code that can be processed by the
57 Corelis mksym utility and UDB Emulator.
58
59config RUNTIME_DEBUG
60 bool "Enable run-time debugging"
61 depends on DEBUG_KERNEL
62 help
63 If you say Y here, some debugging macros will do run-time checking.
64 If you say N here, those macros will mostly turn to no-ops. See
Dmitri Vorobiev00ace202008-12-10 22:38:36 +020065 arch/mips/include/asm/debug.h for debugging macros.
Linus Torvalds1da177e2005-04-16 15:20:36 -070066 If unsure, say N.
67
Linus Torvalds1da177e2005-04-16 15:20:36 -070068endmenu