blob: 1f6462ffd3e8eebce195201308c6806b97375d48 [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"
Jeff Dike42fda662007-10-16 01:26:50 -07007 depends on DEBUG_INFO
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
Jeff Dike4c9e1382007-10-16 01:26:54 -070012 See <http://user-mode-linux.sourceforge.net/gprof.html> for more
13 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
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
Jeff Dike4c9e1382007-10-16 01:26:54 -070025 See <http://user-mode-linux.sourceforge.net/gprof.html> for more
26 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
Jeff Dikee18eecb2007-07-15 23:38:48 -070031config DEBUG_STACK_USAGE
32 bool "Stack utilization instrumentation"
33 default N
34 help
35 Track the maximum kernel stack usage - this will look at each
36 kernel stack at process exit and log it if it's the deepest
37 stack seen so far.
38
39 This option will slow down process creation and destruction somewhat.
Linus Torvalds1da177e2005-04-16 15:20:36 -070040endmenu