blob: 6ae7f0f434a9c6bf80e7c35c797baeef48db74eb [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005config GPROF
6 bool "Enable gprof support"
Karol Swietlicki054211a2008-02-04 22:30:42 -08007 depends on DEBUG_INFO && FRAME_POINTER
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 help
Jeff Dike4c9e1382007-10-16 01:26:54 -07009 This allows profiling of a User-Mode Linux kernel with the gprof
10 utility.
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Karol Swietlicki0ba9d3f2008-02-04 22:30:38 -080012 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
Jeff Dike4c9e1382007-10-16 01:26:54 -070013 details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Jeff Dike4c9e1382007-10-16 01:26:54 -070015 If you're involved in UML kernel development and want to use gprof,
16 say Y. If you're unsure, say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18config GCOV
19 bool "Enable gcov support"
Jeff Dike42fda662007-10-16 01:26:50 -070020 depends on DEBUG_INFO
Richard Weinbergerbe999ae2018-10-30 12:58:12 +010021 depends on !KCOV
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