blob: 85726eeec34512cde5fa0dd66a4485a9b64af311 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070020 help
Jeff Dike4c9e1382007-10-16 01:26:54 -070021 This option allows developers to retrieve coverage data from a UML
22 session.
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
Karol Swietlicki0ba9d3f2008-02-04 22:30:38 -080024 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
Jeff Dike4c9e1382007-10-16 01:26:54 -070025 details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
Jeff Dike4c9e1382007-10-16 01:26:54 -070027 If you're involved in UML kernel development and want to use gcov,
28 say Y. If you're unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
Richard Weinbergerd634f192011-05-24 17:13:01 -070030config EARLY_PRINTK
31 bool "Early printk"
32 default y
33 ---help---
34 Write kernel log output directly to stdout.
35
36 This is useful for kernel debugging when your machine crashes very
37 early before the console code is initialized.