kernel-fxtec-pro1x/arch/um/Kconfig.debug
Richard Weinberger 48b140f563 um: Make GCOV depend on !KCOV
[ Upstream commit 550ed0e2036663b35cec12374b835444f9c60454 ]

Both do more or less the same thing and are mutually exclusive.
If both are enabled the build will fail.
Sooner or later we can kill UML's GCOV.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:20:52 +01:00

37 lines
991 B
Text

# 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
depends on !KCOV
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.