blob: 967d3109689ffd3a4cc3100cc160912b1979aa0c [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 -07002menu "Kernel hacking"
3
4source "lib/Kconfig.debug"
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006config GPROF
7 bool "Enable gprof support"
Karol Swietlicki054211a2008-02-04 22:30:42 -08008 depends on DEBUG_INFO && FRAME_POINTER
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 help
Jeff Dike4c9e1382007-10-16 01:26:54 -070010 This allows profiling of a User-Mode Linux kernel with the gprof
11 utility.
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Karol Swietlicki0ba9d3f2008-02-04 22:30:38 -080013 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
Jeff Dike4c9e1382007-10-16 01:26:54 -070014 details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Jeff Dike4c9e1382007-10-16 01:26:54 -070016 If you're involved in UML kernel development and want to use gprof,
17 say Y. If you're unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19config GCOV
20 bool "Enable gcov support"
Jeff Dike42fda662007-10-16 01:26:50 -070021 depends on DEBUG_INFO
Linus Torvalds1da177e2005-04-16 15:20:36 -070022 help
Jeff Dike4c9e1382007-10-16 01:26:54 -070023 This option allows developers to retrieve coverage data from a UML
24 session.
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
Karol Swietlicki0ba9d3f2008-02-04 22:30:38 -080026 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
Jeff Dike4c9e1382007-10-16 01:26:54 -070027 details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
Jeff Dike4c9e1382007-10-16 01:26:54 -070029 If you're involved in UML kernel development and want to use gcov,
30 say Y. If you're unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
Richard Weinbergerd634f192011-05-24 17:13:01 -070032config EARLY_PRINTK
33 bool "Early printk"
34 default y
35 ---help---
36 Write kernel log output directly to stdout.
37
38 This is useful for kernel debugging when your machine crashes very
39 early before the console code is initialized.
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041endmenu