0001 # SPDX-License-Identifier: GPL-2.0
0002
0003 config GPROF
0004 bool "Enable gprof support"
0005 depends on DEBUG_INFO && FRAME_POINTER
0006 help
0007 This allows profiling of a User-Mode Linux kernel with the gprof
0008 utility.
0009
0010 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
0011 details.
0012
0013 If you're involved in UML kernel development and want to use gprof,
0014 say Y. If you're unsure, say N.
0015
0016 config GCOV
0017 bool "Enable gcov support"
0018 depends on DEBUG_INFO
0019 depends on !KCOV
0020 depends on !MODULES
0021 help
0022 This option allows developers to retrieve coverage data from a UML
0023 session.
0024
0025 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
0026 details.
0027
0028 If you're involved in UML kernel development and want to use gcov,
0029 say Y. If you're unsure, say N.
0030
0031 config EARLY_PRINTK
0032 bool "Early printk"
0033 default y
0034 help
0035 Write kernel log output directly to stdout.
0036
0037 This is useful for kernel debugging when your machine crashes very
0038 early before the console code is initialized.