blob: 5681a8bd370b2db1201382405a7edf885efa12cd [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
Paolo 'Blaisorblade' Giarrusso02215752005-09-03 15:57:23 -07005config CMDLINE_ON_HOST
6 bool "Show command line arguments on the host in TT mode"
7 depends on MODE_TT
8 default !DEBUG_INFO
9 help
10 This controls whether arguments in guest processes should be shown on
11 the host's ps output.
12 Enabling this option hinders debugging on some recent GDB versions
13 (because GDB gets "confused" when we do an execvp()). So probably you
14 should disable it.
15
Linus Torvalds1da177e2005-04-16 15:20:36 -070016config PT_PROXY
17 bool "Enable ptrace proxy"
18 depends on XTERM_CHAN && DEBUG_INFO && MODE_TT
19 help
20 This option enables a debugging interface which allows gdb to debug
21 the kernel without needing to actually attach to kernel threads.
22 If you want to do kernel debugging, say Y here; otherwise say N.
23
24config GPROF
25 bool "Enable gprof support"
26 depends on DEBUG_INFO && MODE_SKAS && !MODE_TT
27 help
28 This allows profiling of a User-Mode Linux kernel with the gprof
29 utility.
30
31 See <http://user-mode-linux.sourceforge.net/gprof.html> for more
32 details.
33
34 If you're involved in UML kernel development and want to use gprof,
35 say Y. If you're unsure, say N.
36
37config GCOV
38 bool "Enable gcov support"
39 depends on DEBUG_INFO && MODE_SKAS
40 help
41 This option allows developers to retrieve coverage data from a UML
42 session.
43
44 See <http://user-mode-linux.sourceforge.net/gprof.html> for more
45 details.
46
47 If you're involved in UML kernel development and want to use gcov,
48 say Y. If you're unsure, say N.
49
50config SYSCALL_DEBUG
51 bool "Enable system call debugging"
52 default N
53 depends on DEBUG_INFO
54 help
55 This adds some system debugging to UML, including keeping a ring buffer
56 with recent system calls and some global and per-task statistics.
57
58 If unsure, say N
59
60endmenu