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

source "lib/Kconfig.debug"

config GPROF
	bool "Enable gprof support"
7
	depends on DEBUG_INFO && FRAME_POINTER
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

R
Richard Weinberger 已提交
31 32 33 34 35 36 37 38 39
config EARLY_PRINTK
	bool "Early printk"
	default y
	---help---
	  Write kernel log output directly to stdout.

	  This is useful for kernel debugging when your machine crashes very
	  early before the console code is initialized.

L
Linus Torvalds 已提交
40
endmenu