summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2024-08-03 15:55:18 +0300
committerStijn Tintel <stijn@linux-ipv6.be>2024-08-03 18:27:05 +0300
commitd604b2699b6015f99ff194b34f532958bde7d442 (patch)
treea78a716a7657288aaff76dca4c323358314887f5 /config
parentd8f64fe1680aa37dce2af8173daf78ff392ba8cc (diff)
downloadopenwrt-d604b2699b6015f99ff194b34f532958bde7d442.tar.gz
openwrt-d604b2699b6015f99ff194b34f532958bde7d442.tar.bz2
openwrt-d604b2699b6015f99ff194b34f532958bde7d442.zip
kernel: add missing symbol
Enabling KERNEL_DEBUG_INFO_BTF and KERNEL_KPROBE_EVENTS on 6.6 exposes CONFIG_PROBE_EVENTS_BTF_ARGS in the kernel config. Add a build option for it to fix build failures with KERNEL_DEBUG_INFO_BTF and KERNEL_KPROBE_EVENTS enabled on targets using the 6.6 kernel. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'config')
-rw-r--r--config/Config-kernel.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index ddf81d67da..9cedd1df12 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -546,6 +546,10 @@ config KERNEL_BPF_EVENTS
for sending data from BPF programs to user-space for post-processing
or logging.
+config KERNEL_PROBE_EVENTS_BTF_ARGS
+ bool "Support BTF function arguments for probe events"
+ depends on KERNEL_DEBUG_INFO_BTF && KERNEL_KPROBE_EVENTS && LINUX_6_6
+
config KERNEL_BPF_KPROBE_OVERRIDE
bool
depends on KERNEL_KPROBES