summaryrefslogtreecommitdiffstats
path: root/config/Config-kernel.in
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2022-02-20 03:32:23 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2022-05-18 13:32:06 +0300
commit8f5c9a7d94dc7f945dbe1eea2d3fc508c477b788 (patch)
tree668a934465e80b3ec2aabef46dad102a726a73a9 /config/Config-kernel.in
parent76fae1d169e5ea82439d9265d7a5de047d4c1a95 (diff)
downloadopenwrt-8f5c9a7d94dc7f945dbe1eea2d3fc508c477b788.tar.gz
openwrt-8f5c9a7d94dc7f945dbe1eea2d3fc508c477b788.tar.bz2
openwrt-8f5c9a7d94dc7f945dbe1eea2d3fc508c477b788.zip
kernel: add KERNEL_BPF_EVENTS config option
This is required to use BPF maps of type BPF_MAP_TYPE_PERF_EVENT_ARRAY for sending data from BPF programs to user-space for post-processing or logging. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'config/Config-kernel.in')
-rw-r--r--config/Config-kernel.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 1a3f6a8bdc..7cd7906dc9 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -455,10 +455,20 @@ config KERNEL_KPROBE_EVENTS
bool
default y if KERNEL_KPROBES
+config KERNEL_BPF_EVENTS
+ bool "Compile the kernel with BPF event support"
+ default n
+ select KERNEL_KPROBES
+ 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
+ for sending data from BPF programs to user-space for post-processing
+ or logging.
+
config KERNEL_BPF_KPROBE_OVERRIDE
bool
- depends on KERNEL_KPROBES
default n
+ depends on KERNEL_KPROBES
config KERNEL_AIO
bool "Compile the kernel with asynchronous IO support"