kernel: enable KERNEL_BPF_EVENTS by default

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-03-21 16:14:39 +08:00
parent ba13de0892
commit a3bf13ded1
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -453,6 +453,7 @@ config KERNEL_KPROBE_EVENTS
config KERNEL_BPF_EVENTS
bool "Compile the kernel with BPF event support"
select KERNEL_KPROBES
default y if KERNEL_DEBUG_INFO_BTF
help
Allows to attach BPF programs to kprobe, uprobe and tracepoint events.
This is required to use BPF maps of type BPF_MAP_TYPE_PERF_EVENT_ARRAY