Kconfig.debug 1.0 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6
menu "Kernel hacking"

source "lib/Kconfig.debug"

config GPROF
	bool "Enable gprof support"
J
Jeff Dike 已提交
7
	depends on DEBUG_INFO
L
Linus Torvalds 已提交
8
	help
J
Jeff Dike 已提交
9 10
	  This allows profiling of a User-Mode Linux kernel with the gprof
	  utility.
L
Linus Torvalds 已提交
11

12
	  See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
J
Jeff Dike 已提交
13
	  details.
L
Linus Torvalds 已提交
14

J
Jeff Dike 已提交
15 16
	  If you're involved in UML kernel development and want to use gprof,
	  say Y.  If you're unsure, say N.
L
Linus Torvalds 已提交
17 18 19

config GCOV
	bool "Enable gcov support"
J
Jeff Dike 已提交
20
	depends on DEBUG_INFO
L
Linus Torvalds 已提交
21
	help
J
Jeff Dike 已提交
22 23
	  This option allows developers to retrieve coverage data from a UML
	  session.
L
Linus Torvalds 已提交
24

25
	  See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
J
Jeff Dike 已提交
26
	  details.
L
Linus Torvalds 已提交
27

J
Jeff Dike 已提交
28 29
	  If you're involved in UML kernel development and want to use gcov,
	  say Y.  If you're unsure, say N.
L
Linus Torvalds 已提交
30

31 32 33 34 35 36 37 38 39
config DEBUG_STACK_USAGE
	bool "Stack utilization instrumentation"
	default N
	help
	  Track the maximum kernel stack usage - this will look at each
	  kernel stack at process exit and log it if it's the deepest
	  stack seen so far.

	  This option will slow down process creation and destruction somewhat.
L
Linus Torvalds 已提交
40
endmenu