1 # SPDX-License-Identifier: GPL-2.0 !! 1 menu "Kernel hacking" 2 2 3 config SH_STANDARD_BIOS !! 3 config TRACE_IRQFLAGS_SUPPORT 4 bool "Use LinuxSH standard BIOS" !! 4 bool 5 help !! 5 default y 6 Say Y here if your target has the gd !! 6 7 package from www.m17n.org (or any co !! 7 source "lib/Kconfig.debug" 8 in FLASH or EPROM. The kernel will !! 8 9 boot for various housekeeping tasks !! 9 config CMDLINE 10 write characters to a system console !! 10 string "Default kernel command string" 11 on-board Ethernet interface, and shu !! 11 default "" 12 does not work with machines with an !! 12 help 13 mask ROM and no flash (WindowsCE mac !! 13 On some platforms, there is currently no way for the boot loader to 14 If unsure, say N. !! 14 pass arguments to the kernel. For these platforms, you can supply 15 !! 15 some command-line options at build time by entering them here. In 16 config STACK_DEBUG !! 16 other cases you can specify kernel args so that you don't have 17 bool "Check for stack overflows" !! 17 to set them up in board prom initialization routines. 18 depends on DEBUG_KERNEL && PRINTK << 19 help << 20 This option will cause messages to b << 21 drops below a certain limit. Saying << 22 every function call and will therefo << 23 performance hit. Most users should s << 24 << 25 config EARLY_PRINTK << 26 bool "Early printk" << 27 depends on SH_STANDARD_BIOS << 28 help << 29 Say Y here to redirect kernel printk << 30 used by the SH-IPL bootloader, start << 31 process and ending when the kernel's << 32 This option is only useful while por << 33 when the kernel may crash or hang be << 34 initialised. If unsure, say N. << 35 << 36 config 4KSTACKS << 37 bool "Use 4Kb for kernel stacks instea << 38 depends on DEBUG_KERNEL && (MMU || BRO << 39 help << 40 If you say Y here the kernel will us << 41 kernel stack attached to each proces << 42 running more threads on a system and << 43 on the VM subsystem for higher order << 44 will also use IRQ stacks to compensa << 45 << 46 config IRQSTACKS << 47 bool "Use separate kernel stacks when << 48 depends on DEBUG_KERNEL && BROKEN << 49 help << 50 If you say Y here the kernel will us << 51 for handling hard and soft interrupt << 52 overflowing the process kernel stack << 53 18 54 config DUMP_CODE !! 19 config DEBUG_STACK_USAGE 55 bool "Show disassembly of nearby code !! 20 bool "Enable stack utilization instrumentation" 56 depends on DEBUG_KERNEL 21 depends on DEBUG_KERNEL 57 default y if DEBUG_BUGVERBOSE << 58 default n << 59 help 22 help 60 This prints out a code trace of the !! 23 Enables the display of the minimum amount of free stack which each 61 the faulting instruction as a debugg !! 24 task has ever had available in the sysrq-T and sysrq-P debug output. 62 the kernel in size a bit, most users << 63 25 64 Those looking for more verbose debug !! 26 This option will slow down process creation somewhat. 65 27 66 config DWARF_UNWINDER !! 28 config SMTC_IDLE_HOOK_DEBUG 67 bool "Enable the DWARF unwinder for st !! 29 bool "Enable additional debug checks before going into CPU idle loop" 68 depends on DEBUG_KERNEL !! 30 depends on DEBUG_KERNEL && MIPS_MT_SMTC 69 select FRAME_POINTER !! 31 help 70 default n !! 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 >> 37 config SB1XXX_CORELIS >> 38 bool "Corelis Debugger" >> 39 depends on SIBYTE_SB1xxx_SOC >> 40 select DEBUG_INFO 71 help 41 help 72 Enabling this option will make stack !! 42 Select compile flags that produce code that can be processed by the 73 the cost of an increase in overall k !! 43 Corelis mksym utility and UDB Emulator. 74 44 75 config SH_NO_BSS_INIT !! 45 config RUNTIME_DEBUG 76 bool "Avoid zeroing BSS (to speed-up s !! 46 bool "Enable run-time debugging" 77 depends on DEBUG_KERNEL 47 depends on DEBUG_KERNEL 78 default n << 79 help 48 help 80 If running in painfully slow environ !! 49 If you say Y here, some debugging macros will do run-time checking. 81 simulation or from remote memory via !! 50 If you say N here, those macros will mostly turn to no-ops. See 82 can already be guaranteed to ber zer !! 51 arch/mips/include/asm/debug.h for debugging macros. 83 !! 52 If unsure, say N. 84 For all other cases, say N. If this !! 53 85 you aren't sure, say N. !! 54 endmenu 86 << 87 config MCOUNT << 88 def_bool y << 89 depends on STACK_DEBUG || FUNCTION_TRA <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.