b24413180f560 (Greg Kroah-Hartman 2017-11-01 15:07:57 +0100 1) # SPDX-License-Identifier: GPL-2.0
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 2)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 3) config GPROF
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 4) bool "Enable gprof support"
054211acad0cb (Karol Swietlicki 2008-02-04 22:30:42 -0800 5) depends on DEBUG_INFO && FRAME_POINTER
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 6) help
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 7) This allows profiling of a User-Mode Linux kernel with the gprof
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 8) utility.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 9)
0ba9d3f91d213 (Karol Swietlicki 2008-02-04 22:30:38 -0800 10) See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 11) details.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 12)
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 13) If you're involved in UML kernel development and want to use gprof,
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 14) say Y. If you're unsure, say N.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 15)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 16) config GCOV
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 17) bool "Enable gcov support"
42fda66387daa (Jeff Dike 2007-10-16 01:26:50 -0700 18) depends on DEBUG_INFO
550ed0e203666 (Richard Weinberger 2018-10-30 12:58:12 +0100 19) depends on !KCOV
ad3d19911632d (Johannes Berg 2021-03-15 23:47:31 +0100 20) depends on !MODULES
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 21) help
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 22) This option allows developers to retrieve coverage data from a UML
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 23) session.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 24)
0ba9d3f91d213 (Karol Swietlicki 2008-02-04 22:30:38 -0800 25) See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 26) details.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 27)
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 28) If you're involved in UML kernel development and want to use gcov,
4c9e13851315a (Jeff Dike 2007-10-16 01:26:54 -0700 29) say Y. If you're unsure, say N.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 30)
d634f194d4e2e (Richard Weinberger 2011-05-24 17:13:01 -0700 31) config EARLY_PRINTK
d634f194d4e2e (Richard Weinberger 2011-05-24 17:13:01 -0700 32) bool "Early printk"
d634f194d4e2e (Richard Weinberger 2011-05-24 17:13:01 -0700 33) default y
a7f7f6248d974 (Masahiro Yamada 2020-06-14 01:50:22 +0900 34) help
d634f194d4e2e (Richard Weinberger 2011-05-24 17:13:01 -0700 35) Write kernel log output directly to stdout.
d634f194d4e2e (Richard Weinberger 2011-05-24 17:13:01 -0700 36)
d634f194d4e2e (Richard Weinberger 2011-05-24 17:13:01 -0700 37) This is useful for kernel debugging when your machine crashes very
d634f194d4e2e (Richard Weinberger 2011-05-24 17:13:01 -0700 38) early before the console code is initialized.