blob: bab51d619173d8251a9529cd0c47d319e64e6cb6 [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"
Linus Torvalds1da177e2005-04-16 15:20:36 -070052 depends on DEBUG_INFO
53 help
54 This adds some system debugging to UML, including keeping a ring buffer
55 with recent system calls and some global and per-task statistics.
56
57 If unsure, say N
58
59endmenu