Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | config GPROF |
| 4 | bool "Enable gprof support" |
| 5 | depends on DEBUG_INFO && FRAME_POINTER |
| 6 | help |
| 7 | This allows profiling of a User-Mode Linux kernel with the gprof |
| 8 | utility. |
| 9 | |
| 10 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
| 11 | details. |
| 12 | |
| 13 | If you're involved in UML kernel development and want to use gprof, |
| 14 | say Y. If you're unsure, say N. |
| 15 | |
| 16 | config GCOV |
| 17 | bool "Enable gcov support" |
| 18 | depends on DEBUG_INFO |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 19 | depends on !KCOV |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 20 | help |
| 21 | This option allows developers to retrieve coverage data from a UML |
| 22 | session. |
| 23 | |
| 24 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
| 25 | details. |
| 26 | |
| 27 | If you're involved in UML kernel development and want to use gcov, |
| 28 | say Y. If you're unsure, say N. |
| 29 | |
| 30 | config EARLY_PRINTK |
| 31 | bool "Early printk" |
| 32 | default y |
| 33 | ---help--- |
| 34 | Write kernel log output directly to stdout. |
| 35 | |
| 36 | This is useful for kernel debugging when your machine crashes very |
| 37 | early before the console code is initialized. |