Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
Ralf Baechle | 192ef36 | 2006-07-07 14:07:18 +0100 | [diff] [blame] | 3 | config TRACE_IRQFLAGS_SUPPORT |
| 4 | bool |
| 5 | default y |
| 6 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | source "lib/Kconfig.debug" |
| 8 | |
Ralf Baechle | 4dd92e1 | 2009-12-17 01:57:30 +0000 | [diff] [blame^] | 9 | config 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | config CMDLINE |
| 24 | string "Default kernel command string" |
| 25 | default "" |
| 26 | help |
Jan Altenberg | 3e7f9b82 | 2007-01-25 20:46:14 +0100 | [diff] [blame] | 27 | 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | to set them up in board prom initialization routines. |
| 32 | |
| 33 | config 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 Baechle | 9349075 | 2007-07-05 17:39:48 +0100 | [diff] [blame] | 42 | config SMTC_IDLE_HOOK_DEBUG |
Ralf Baechle | c68644d | 2007-02-26 20:46:34 +0000 | [diff] [blame] | 43 | 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | config 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 | |
| 59 | config 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 Vorobiev | 00ace20 | 2008-12-10 22:38:36 +0200 | [diff] [blame] | 65 | arch/mips/include/asm/debug.h for debugging macros. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 66 | If unsure, say N. |
| 67 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 68 | endmenu |