1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 >> 2 menu "Kernel hacking" 2 3 3 config GPROF !! 4 source "lib/Kconfig.debug" 4 bool "Enable gprof support" !! 5 5 depends on DEBUG_INFO && FRAME_POINTER !! 6 config BOOTPARAM >> 7 bool 'Compiled-in Kernel Boot Parameter' >> 8 >> 9 config BOOTPARAM_STRING >> 10 string 'Kernel Boot Parameter' >> 11 default 'console=ttyS0,19200' >> 12 depends on BOOTPARAM >> 13 >> 14 config EARLY_PRINTK >> 15 bool "Early printk" >> 16 depends on !(SUN3 || M68000 || COLDFIRE) 6 help 17 help 7 This allows profiling of a User-Mode !! 18 Write kernel log output directly to a serial port. 8 utility. !! 19 Where implemented, output goes to the framebuffer as well. >> 20 PROM console functionality on Sun 3x is not affected by this option. >> 21 >> 22 Pass "earlyprintk" on the kernel command line to get a >> 23 boot console. 9 24 10 See <http://user-mode-linux.sourcefo !! 25 This is useful for kernel debugging when your machine crashes very 11 details. !! 26 early, i.e. before the normal console driver is loaded. >> 27 You should normally say N here, unless you want to debug such a crash. 12 28 13 If you're involved in UML kernel dev !! 29 if !MMU 14 say Y. If you're unsure, say N. << 15 30 16 config GCOV !! 31 config FULLDEBUG 17 bool "Enable gcov support" !! 32 bool "Full Symbolic/Source Debugging support" 18 depends on DEBUG_INFO << 19 depends on !KCOV << 20 depends on !MODULES << 21 help 33 help 22 This option allows developers to ret !! 34 Enable debugging symbols on kernel build. 23 session. << 24 35 25 See <http://user-mode-linux.sourcefo !! 36 config HIGHPROFILE 26 details. !! 37 bool "Use fast second timer for profiling" >> 38 depends on COLDFIRE >> 39 help >> 40 Use a fast secondary clock to produce profiling information. 27 41 28 If you're involved in UML kernel dev !! 42 config NO_KERNEL_MSG 29 say Y. If you're unsure, say N. !! 43 bool "Suppress Kernel BUG Messages" >> 44 help >> 45 Do not output any debug BUG messages within the kernel. 30 46 31 config EARLY_PRINTK !! 47 config BDM_DISABLE 32 bool "Early printk" !! 48 bool "Disable BDM signals" 33 default y !! 49 depends on COLDFIRE 34 help 50 help 35 Write kernel log output directly to !! 51 Disable the ColdFire CPU's BDM signals. >> 52 >> 53 endif 36 54 37 This is useful for kernel debugging !! 55 endmenu 38 early before the console code is ini <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.