Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | menu "Kernel hacking" |
2 | ||
3 | source "lib/Kconfig.debug" | |
4 | ||
1da177e4 LT |
5 | config GPROF |
6 | bool "Enable gprof support" | |
054211ac | 7 | depends on DEBUG_INFO && FRAME_POINTER |
1da177e4 | 8 | help |
4c9e1385 JD |
9 | This allows profiling of a User-Mode Linux kernel with the gprof |
10 | utility. | |
1da177e4 | 11 | |
0ba9d3f9 | 12 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
4c9e1385 | 13 | details. |
1da177e4 | 14 | |
4c9e1385 JD |
15 | If you're involved in UML kernel development and want to use gprof, |
16 | say Y. If you're unsure, say N. | |
1da177e4 LT |
17 | |
18 | config GCOV | |
19 | bool "Enable gcov support" | |
42fda663 | 20 | depends on DEBUG_INFO |
1da177e4 | 21 | help |
4c9e1385 JD |
22 | This option allows developers to retrieve coverage data from a UML |
23 | session. | |
1da177e4 | 24 | |
0ba9d3f9 | 25 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
4c9e1385 | 26 | details. |
1da177e4 | 27 | |
4c9e1385 JD |
28 | If you're involved in UML kernel development and want to use gcov, |
29 | say Y. If you're unsure, say N. | |
1da177e4 | 30 | |
e18eecb8 JD |
31 | config DEBUG_STACK_USAGE |
32 | bool "Stack utilization instrumentation" | |
33 | default N | |
34 | help | |
35 | Track the maximum kernel stack usage - this will look at each | |
36 | kernel stack at process exit and log it if it's the deepest | |
37 | stack seen so far. | |
38 | ||
39 | This option will slow down process creation and destruction somewhat. | |
1da177e4 | 40 | endmenu |