xref: /openbmc/linux/arch/um/Kconfig.debug (revision ad3d1991)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds
31da177e4SLinus Torvaldsconfig GPROF
41da177e4SLinus Torvalds	bool "Enable gprof support"
5054211acSKarol Swietlicki	depends on DEBUG_INFO && FRAME_POINTER
61da177e4SLinus Torvalds	help
71da177e4SLinus Torvalds	  This allows profiling of a User-Mode Linux kernel with the gprof
81da177e4SLinus Torvalds	  utility.
91da177e4SLinus Torvalds
100ba9d3f9SKarol Swietlicki	  See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
111da177e4SLinus Torvalds	  details.
121da177e4SLinus Torvalds
131da177e4SLinus Torvalds	  If you're involved in UML kernel development and want to use gprof,
141da177e4SLinus Torvalds	  say Y.  If you're unsure, say N.
151da177e4SLinus Torvalds
161da177e4SLinus Torvaldsconfig GCOV
171da177e4SLinus Torvalds	bool "Enable gcov support"
1842fda663SJeff Dike	depends on DEBUG_INFO
19550ed0e2SRichard Weinberger	depends on !KCOV
20*ad3d1991SJohannes Berg	depends on !MODULES
211da177e4SLinus Torvalds	help
221da177e4SLinus Torvalds	  This option allows developers to retrieve coverage data from a UML
231da177e4SLinus Torvalds	  session.
241da177e4SLinus Torvalds
250ba9d3f9SKarol Swietlicki	  See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
261da177e4SLinus Torvalds	  details.
271da177e4SLinus Torvalds
281da177e4SLinus Torvalds	  If you're involved in UML kernel development and want to use gcov,
291da177e4SLinus Torvalds	  say Y.  If you're unsure, say N.
301da177e4SLinus Torvalds
31d634f194SRichard Weinbergerconfig EARLY_PRINTK
32d634f194SRichard Weinberger	bool "Early printk"
33d634f194SRichard Weinberger	default y
34a7f7f624SMasahiro Yamada	help
35d634f194SRichard Weinberger	  Write kernel log output directly to stdout.
36d634f194SRichard Weinberger
37d634f194SRichard Weinberger	  This is useful for kernel debugging when your machine crashes very
38d634f194SRichard Weinberger	  early before the console code is initialized.
39