blob: 364ca89388072bdef9c9083183b329cec5828af7 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -07009config CMDLINE
10 string "Default kernel command string"
11 default ""
12 help
Jan Altenberg3e7f9b822007-01-25 20:46:14 +010013 On some platforms, there is currently no way for the boot loader to
14 pass arguments to the kernel. For these platforms, you can supply
15 some command-line options at build time by entering them here. In
16 other cases you can specify kernel args so that you don't have
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 to set them up in board prom initialization routines.
18
19config DEBUG_STACK_USAGE
20 bool "Enable stack utilization instrumentation"
21 depends on DEBUG_KERNEL
22 help
23 Enables the display of the minimum amount of free stack which each
24 task has ever had available in the sysrq-T and sysrq-P debug output.
25
26 This option will slow down process creation somewhat.
27
Ralf Baechle93490752007-07-05 17:39:48 +010028config SMTC_IDLE_HOOK_DEBUG
Ralf Baechlec68644d2007-02-26 20:46:34 +000029 bool "Enable additional debug checks before going into CPU idle loop"
30 depends on DEBUG_KERNEL && MIPS_MT_SMTC
31 help
32 This option enables Enable additional debug checks before going into
33 CPU idle loop. For details on these checks, see
34 arch/mips/kernel/smtc.c. This debugging option result in significant
35 overhead so should be disabled in production kernels.
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037config SB1XXX_CORELIS
38 bool "Corelis Debugger"
39 depends on SIBYTE_SB1xxx_SOC
40 select DEBUG_INFO
41 help
42 Select compile flags that produce code that can be processed by the
43 Corelis mksym utility and UDB Emulator.
44
45config RUNTIME_DEBUG
46 bool "Enable run-time debugging"
47 depends on DEBUG_KERNEL
48 help
49 If you say Y here, some debugging macros will do run-time checking.
50 If you say N here, those macros will mostly turn to no-ops. See
Dmitri Vorobiev00ace202008-12-10 22:38:36 +020051 arch/mips/include/asm/debug.h for debugging macros.
Linus Torvalds1da177e2005-04-16 15:20:36 -070052 If unsure, say N.
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054endmenu