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