summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-12-03 00:39:47 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-12-03 00:39:47 +0300
commit7d9b3ad424f4e6b039201b254bfef01de4315192 (patch)
treefaad0e46d7f02e1b953633bce101058334d4173e /lib
parent099f83aa2d06680d5987e43fed1afeda14b5037e (diff)
parent3345193f6f3cc24791c245d4ba2c38502f1cf684 (diff)
downloadlinux-7d9b3ad424f4e6b039201b254bfef01de4315192.tar.xz
Merge branch 'Fixes for kfunc-mod regressions and warnings'
Kumar Kartikeya says: ==================== This set includes fixes for two regressions and one build warning introduced by the kfunc for modules series. Changelog: ---------- v1 -> v2: v1: https://lore.kernel.org/bpf/20211115191840.496263-1-memxor@gmail.com * Instead of demoting resolve_btfids warning to debug, only skip in case of set->cnt == 0. ==================== Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 9ef7ce18b4f5..596bb5e4790c 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -316,6 +316,7 @@ config DEBUG_INFO_BTF
bool "Generate BTF typeinfo"
depends on !DEBUG_INFO_SPLIT && !DEBUG_INFO_REDUCED
depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST
+ depends on BPF_SYSCALL
help
Generate deduplicated BTF type information from DWARF debug info.
Turning this on expects presence of pahole tool, which will convert