kernel: add missing symbol main master
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 3 Aug 2024 12:55:18 +0000 (15:55 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Sat, 3 Aug 2024 15:27:05 +0000 (18:27 +0300)
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>
config/Config-kernel.in

index ddf81d67dabf46eef41fd26b08d14853b5758af0..9cedd1df127f5c197f4d778b6feccaf411c28a6f 100644 (file)
@@ -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