summaryrefslogtreecommitdiff
path: root/arch/um/Kconfig.debug
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-03-15 23:47:31 +0100
committerRichard Weinberger <richard@nod.at>2021-04-15 23:10:33 +0200
commitad3d19911632debc886ef4a992d41d6de7927006 (patch)
treee36b92a80cb8dd5271f1470e6338352b039fdcaa /arch/um/Kconfig.debug
parentea8e896cc15e8fac586d018733fd67f56cd721cc (diff)
um: Disable CONFIG_GCOV with MODULES
CONFIG_GCOV doesn't work with modules, and for various reasons it cannot work, see also https://lore.kernel.org/r/d36ea54d8c0a8dd706826ba844a6f27691f45d55.camel@sipsolutions.net Make CONFIG_GCOV depend on !MODULES to avoid anyone running into issues there. This also means we need not export the gcov symbols. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Kconfig.debug')
-rw-r--r--arch/um/Kconfig.debug1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug
index 315d368e63ad..1dfb2959c73b 100644
--- a/arch/um/Kconfig.debug
+++ b/arch/um/Kconfig.debug
@@ -17,6 +17,7 @@ config GCOV
bool "Enable gcov support"
depends on DEBUG_INFO
depends on !KCOV
+ depends on !MODULES
help
This option allows developers to retrieve coverage data from a UML
session.