diff options
Diffstat (limited to 'arch/um/Kconfig.debug')
-rw-r--r-- | arch/um/Kconfig.debug | 47 |
1 files changed, 14 insertions, 33 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug index c86f5eb29fd5..1f6462ffd3e8 100644 --- a/arch/um/Kconfig.debug +++ b/arch/um/Kconfig.debug | |||
@@ -2,50 +2,31 @@ menu "Kernel hacking" | |||
2 | 2 | ||
3 | source "lib/Kconfig.debug" | 3 | source "lib/Kconfig.debug" |
4 | 4 | ||
5 | config 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 | |||
16 | config 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 | |||
24 | config GPROF | 5 | config GPROF |
25 | bool "Enable gprof support" | 6 | bool "Enable gprof support" |
26 | depends on DEBUG_INFO && MODE_SKAS && !MODE_TT | 7 | depends on DEBUG_INFO |
27 | help | 8 | help |
28 | This allows profiling of a User-Mode Linux kernel with the gprof | 9 | This allows profiling of a User-Mode Linux kernel with the gprof |
29 | utility. | 10 | utility. |
30 | 11 | ||
31 | See <http://user-mode-linux.sourceforge.net/gprof.html> for more | 12 | See <http://user-mode-linux.sourceforge.net/gprof.html> for more |
32 | details. | 13 | details. |
33 | 14 | ||
34 | If you're involved in UML kernel development and want to use gprof, | 15 | If you're involved in UML kernel development and want to use gprof, |
35 | say Y. If you're unsure, say N. | 16 | say Y. If you're unsure, say N. |
36 | 17 | ||
37 | config GCOV | 18 | config GCOV |
38 | bool "Enable gcov support" | 19 | bool "Enable gcov support" |
39 | depends on DEBUG_INFO && MODE_SKAS | 20 | depends on DEBUG_INFO |
40 | help | 21 | help |
41 | This option allows developers to retrieve coverage data from a UML | 22 | This option allows developers to retrieve coverage data from a UML |
42 | session. | 23 | session. |
43 | 24 | ||
44 | See <http://user-mode-linux.sourceforge.net/gprof.html> for more | 25 | See <http://user-mode-linux.sourceforge.net/gprof.html> for more |
45 | details. | 26 | details. |
46 | 27 | ||
47 | If you're involved in UML kernel development and want to use gcov, | 28 | If you're involved in UML kernel development and want to use gcov, |
48 | say Y. If you're unsure, say N. | 29 | say Y. If you're unsure, say N. |
49 | 30 | ||
50 | config DEBUG_STACK_USAGE | 31 | config DEBUG_STACK_USAGE |
51 | bool "Stack utilization instrumentation" | 32 | bool "Stack utilization instrumentation" |