OpenWRT/DD-WRT Stock Kernel eBPF CO:RE Incompatibilities #9

Open
opened 2024-04-14 21:24:29 +00:00 by steven · 1 comment
Owner

To use eBPF's CO:RE capabilities, the kernel requires CONFIG_KERNEL_DEBUG_INFO_BTF

Unfortunately, both OpenWRT and DDR-WRT ship with this configuration item set to "N".

Will need to do some local testing to ensure this kernel configuration works, determine the impacts and then submit bug report to OpenWRT and DD-WRT teams.

To use eBPF's CO:RE capabilities, the kernel requires CONFIG_KERNEL_DEBUG_INFO_BTF Unfortunately, both OpenWRT and DDR-WRT ship with this configuration item set to "N". Will need to do some local testing to ensure this kernel configuration works, determine the impacts and then submit bug report to OpenWRT and DD-WRT teams.
steven added the
bug
help wanted
labels 2024-04-14 21:24:29 +00:00
steven self-assigned this 2024-04-14 21:24:29 +00:00
steven added this to the dd-wrt/openwrt support project 2024-04-14 21:24:29 +00:00
steven changed title from OpenWRT/DD-WRT eBPF CO:RE Incompatibilities to OpenWRT/DD-WRT Stock Kernel eBPF CO:RE Incompatibilities 2024-04-14 21:24:59 +00:00
Author
Owner

I was able to get this working using eBPF CO-RE with CONFIG_KERNEL_DEBUG_INFO_BTF enabled.

Started thread about possibility of including this in base image: https://forum.openwrt.org/t/enable-ebpf-co-re-config-debug-info-btf-y/195036

If not, the options aren't great.

I was able to get this working using eBPF CO-RE with CONFIG_KERNEL_DEBUG_INFO_BTF enabled. Started thread about possibility of including this in base image: https://forum.openwrt.org/t/enable-ebpf-co-re-config-debug-info-btf-y/195036 If not, the options aren't great.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: steven/hyp#9
No description provided.