xref: /openbmc/linux/arch/um/Kconfig.debug (revision a7f7f624)
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
201da177e4SLinus Torvalds	help
211da177e4SLinus Torvalds	  This option allows developers to retrieve coverage data from a UML
221da177e4SLinus Torvalds	  session.
231da177e4SLinus Torvalds
240ba9d3f9SKarol Swietlicki	  See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
251da177e4SLinus Torvalds	  details.
261da177e4SLinus Torvalds
271da177e4SLinus Torvalds	  If you're involved in UML kernel development and want to use gcov,
281da177e4SLinus Torvalds	  say Y.  If you're unsure, say N.
291da177e4SLinus Torvalds
30d634f194SRichard Weinbergerconfig EARLY_PRINTK
31d634f194SRichard Weinberger	bool "Early printk"
32d634f194SRichard Weinberger	default y
33a7f7f624SMasahiro Yamada	help
34d634f194SRichard Weinberger	  Write kernel log output directly to stdout.
35d634f194SRichard Weinberger
36d634f194SRichard Weinberger	  This is useful for kernel debugging when your machine crashes very
37d634f194SRichard Weinberger	  early before the console code is initialized.
38