Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | menu "Kernel hacking" |
3 | ||
4 | source "lib/Kconfig.debug" | |
5 | ||
1da177e4 LT |
6 | config GPROF |
7 | bool "Enable gprof support" | |
054211ac | 8 | depends on DEBUG_INFO && FRAME_POINTER |
1da177e4 | 9 | help |
4c9e1385 JD |
10 | This allows profiling of a User-Mode Linux kernel with the gprof |
11 | utility. | |
1da177e4 | 12 | |
0ba9d3f9 | 13 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
4c9e1385 | 14 | details. |
1da177e4 | 15 | |
4c9e1385 JD |
16 | If you're involved in UML kernel development and want to use gprof, |
17 | say Y. If you're unsure, say N. | |
1da177e4 LT |
18 | |
19 | config GCOV | |
20 | bool "Enable gcov support" | |
42fda663 | 21 | depends on DEBUG_INFO |
1da177e4 | 22 | help |
4c9e1385 JD |
23 | This option allows developers to retrieve coverage data from a UML |
24 | session. | |
1da177e4 | 25 | |
0ba9d3f9 | 26 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
4c9e1385 | 27 | details. |
1da177e4 | 28 | |
4c9e1385 JD |
29 | If you're involved in UML kernel development and want to use gcov, |
30 | say Y. If you're unsure, say N. | |
1da177e4 | 31 | |
d634f194 RW |
32 | config EARLY_PRINTK |
33 | bool "Early printk" | |
34 | default y | |
35 | ---help--- | |
36 | Write kernel log output directly to stdout. | |
37 | ||
38 | This is useful for kernel debugging when your machine crashes very | |
39 | early before the console code is initialized. | |
40 | ||
1da177e4 | 41 | endmenu |