Kconfig: consolidate the "Kernel hacking" menu
[linux-2.6-block.git] / arch / um / Kconfig.debug
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
19         help
20           This option allows developers to retrieve coverage data from a UML
21           session.
22
23           See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
24           details.
25
26           If you're involved in UML kernel development and want to use gcov,
27           say Y.  If you're unsure, say N.
28
29 config EARLY_PRINTK
30         bool "Early printk"
31         default y
32         ---help---
33           Write kernel log output directly to stdout.
34
35           This is useful for kernel debugging when your machine crashes very
36           early before the console code is initialized.