mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
06ec64b84c
Move the source of lib/Kconfig.debug and arch/$(ARCH)/Kconfig.debug to the top-level Kconfig. For two architectures that means moving their arch-specific symbols in that menu into a new arch Kconfig.debug file, and for a few more creating a dummy file so that we can include it unconditionally. Also move the actual 'Kernel hacking' menu to lib/Kconfig.debug, where it belongs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
37 lines
973 B
Plaintext
37 lines
973 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config GPROF
|
|
bool "Enable gprof support"
|
|
depends on DEBUG_INFO && FRAME_POINTER
|
|
help
|
|
This allows profiling of a User-Mode Linux kernel with the gprof
|
|
utility.
|
|
|
|
See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
|
|
details.
|
|
|
|
If you're involved in UML kernel development and want to use gprof,
|
|
say Y. If you're unsure, say N.
|
|
|
|
config GCOV
|
|
bool "Enable gcov support"
|
|
depends on DEBUG_INFO
|
|
help
|
|
This option allows developers to retrieve coverage data from a UML
|
|
session.
|
|
|
|
See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
|
|
details.
|
|
|
|
If you're involved in UML kernel development and want to use gcov,
|
|
say Y. If you're unsure, say N.
|
|
|
|
config EARLY_PRINTK
|
|
bool "Early printk"
|
|
default y
|
|
---help---
|
|
Write kernel log output directly to stdout.
|
|
|
|
This is useful for kernel debugging when your machine crashes very
|
|
early before the console code is initialized.
|