From 4f6a96f94af2eda1bf2a35b3a7e22eb9070e45d5 Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Thu, 19 Apr 2018 17:26:39 -0500 Subject: [PATCH] kmod/core: add check for CONFIG_STACKTRACE As discovered in #837. Signed-off-by: Josh Poimboeuf --- kmod/core/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kmod/core/core.c b/kmod/core/core.c index eaddac5..4a73a47 100644 --- a/kmod/core/core.c +++ b/kmod/core/core.c @@ -58,6 +58,7 @@ !defined(CONFIG_HAVE_FENTRY) || \ !defined(CONFIG_MODULES) || \ !defined(CONFIG_SYSFS) || \ + !defined(CONFIG_STACKTRACE) || \ !defined(CONFIG_KALLSYMS_ALL) #error "CONFIG_FUNCTION_TRACER, CONFIG_HAVE_FENTRY, CONFIG_MODULES, CONFIG_SYSFS, CONFIG_KALLSYMS_ALL kernel config options are required" #endif