blob: 1dfb2959c73b86bc9e696d19259821eb7218559e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
Linus Torvalds1da177e2005-04-16 15:20:36 -07003config GPROF
4 bool "Enable gprof support"
Karol Swietlicki054211a2008-02-04 22:30:42 -08005 depends on DEBUG_INFO && FRAME_POINTER
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 help
Jeff Dike4c9e1382007-10-16 01:26:54 -07007 This allows profiling of a User-Mode Linux kernel with the gprof
8 utility.
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Karol Swietlicki0ba9d3f2008-02-04 22:30:38 -080010 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
Jeff Dike4c9e1382007-10-16 01:26:54 -070011 details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Jeff Dike4c9e1382007-10-16 01:26:54 -070013 If you're involved in UML kernel development and want to use gprof,
14 say Y. If you're unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16config GCOV
17 bool "Enable gcov support"
Jeff Dike42fda662007-10-16 01:26:50 -070018 depends on DEBUG_INFO
Richard Weinberger550ed0e2018-10-30 12:58:12 +010019 depends on !KCOV
Johannes Bergad3d19912021-03-15 23:47:31 +010020 depends on !MODULES
Linus Torvalds1da177e2005-04-16 15:20:36 -070021 help
Jeff Dike4c9e1382007-10-16 01:26:54 -070022 This option allows developers to retrieve coverage data from a UML
23 session.
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
Karol Swietlicki0ba9d3f2008-02-04 22:30:38 -080025 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
Jeff Dike4c9e1382007-10-16 01:26:54 -070026 details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Jeff Dike4c9e1382007-10-16 01:26:54 -070028 If you're involved in UML kernel development and want to use gcov,
29 say Y. If you're unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
Richard Weinbergerd634f192011-05-24 17:13:01 -070031config EARLY_PRINTK
32 bool "Early printk"
33 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090034 help
Richard Weinbergerd634f192011-05-24 17:13:01 -070035 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.