Page MenuHomeVyOS Platform

Enable `CONFIG_DEBUG_INFO_DWARF5` and `CONFIG_DEBUG_INFO_BTF` in the Linux kernel
Closed, WontfixPublicFEATURE REQUEST

Description

The CONFIG_DEBUG_INFO_BTF option is beneficial for certain eBPF programs. It would be ideal if it could be enabled by default in VyOS.

I have personally compiled the kernel and conducted thorough testing, confirming that everything functions flawlessly.

Details

Version
-
Is it a breaking change?
Perfectly compatible

Event Timeline

Should debug code really be part of production releases?

Wouldnt it be sufficient that you can enable this on your own if you want a debug build being made?

Should debug code really be part of production releases?

Wouldnt it be sufficient that you can enable this on your own if you want a debug build being made?

BTF is required for some eBPF-based programs, e.g. https://github.com/deepfence/ebpfguard/blob/main/docs/gh/prerequisites.md#kernel-capabilities

Although the name of CONFIG_DEBUG_INFO_BTF contains DEBUG, it is not only for debugging.

Viacheslav triaged this task as Wishlist priority.Jan 20 2024, 1:34 PM
Viacheslav subscribed.

Open please a PR

syncer claimed this task.
syncer removed a project: VyOS 1.5 Circinus.