xref: /linux/arch/um/Kconfig.debug (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1# SPDX-License-Identifier: GPL-2.0
2
3config GPROF
4	bool "Enable gprof support"
5	depends on DEBUG_INFO && FRAME_POINTER
6	help
7	  This allows profiling of a User-Mode Linux kernel with the gprof
8	  utility.
9
10	  See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
11	  details.
12
13	  If you're involved in UML kernel development and want to use gprof,
14	  say Y.  If you're unsure, say N.
15
16config GCOV
17	bool "Enable gcov support"
18	depends on DEBUG_INFO
19	depends on !KCOV
20	depends on !MODULES
21	help
22	  This option allows developers to retrieve coverage data from a UML
23	  session.
24
25	  See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
26	  details.
27
28	  If you're involved in UML kernel development and want to use gcov,
29	  say Y.  If you're unsure, say N.
30
31config EARLY_PRINTK
32	bool "Early printk"
33	default y
34	help
35	  Write kernel log output directly to stdout.
36
37	  This is useful for kernel debugging when your machine crashes very
38	  early before the console code is initialized.
39