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