xref: /openbmc/linux/arch/um/Kconfig.debug (revision 36ca1195)
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config PT_PROXY
6	bool "Enable ptrace proxy"
7	depends on XTERM_CHAN && DEBUG_INFO && MODE_TT
8	help
9	This option enables a debugging interface which allows gdb to debug
10	the kernel without needing to actually attach to kernel threads.
11	If you want to do kernel debugging, say Y here; otherwise say N.
12
13config GPROF
14	bool "Enable gprof support"
15	depends on DEBUG_INFO && MODE_SKAS && !MODE_TT
16	help
17        This allows profiling of a User-Mode Linux kernel with the gprof
18        utility.
19
20        See <http://user-mode-linux.sourceforge.net/gprof.html> for more
21        details.
22
23        If you're involved in UML kernel development and want to use gprof,
24        say Y.  If you're unsure, say N.
25
26config GCOV
27	bool "Enable gcov support"
28	depends on DEBUG_INFO && MODE_SKAS
29	help
30        This option allows developers to retrieve coverage data from a UML
31        session.
32
33        See <http://user-mode-linux.sourceforge.net/gprof.html> for more
34        details.
35
36        If you're involved in UML kernel development and want to use gcov,
37        say Y.  If you're unsure, say N.
38
39config SYSCALL_DEBUG
40	bool "Enable system call debugging"
41	default N
42	depends on DEBUG_INFO
43	help
44	This adds some system debugging to UML, including keeping a ring buffer
45	with recent system calls and some global and per-task statistics.
46
47	If unsure, say N
48
49endmenu
50