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