kmod/core: add check for CONFIG_STACKTRACE

As discovered in #837.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
Josh Poimboeuf 2018-04-19 17:26:39 -05:00
parent b3b9e858fe
commit 4f6a96f94a
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@
!defined(CONFIG_HAVE_FENTRY) || \ !defined(CONFIG_HAVE_FENTRY) || \
!defined(CONFIG_MODULES) || \ !defined(CONFIG_MODULES) || \
!defined(CONFIG_SYSFS) || \ !defined(CONFIG_SYSFS) || \
!defined(CONFIG_STACKTRACE) || \
!defined(CONFIG_KALLSYMS_ALL) !defined(CONFIG_KALLSYMS_ALL)
#error "CONFIG_FUNCTION_TRACER, CONFIG_HAVE_FENTRY, CONFIG_MODULES, CONFIG_SYSFS, CONFIG_KALLSYMS_ALL kernel config options are required" #error "CONFIG_FUNCTION_TRACER, CONFIG_HAVE_FENTRY, CONFIG_MODULES, CONFIG_SYSFS, CONFIG_KALLSYMS_ALL kernel config options are required"
#endif #endif