Page MenuHomeVyOS Platform

Enable `CONFIG_DEBUG_INFO_DWARF5` and `CONFIG_DEBUG_INFO_BTF` in the Linux kernel
Open, WishlistPublicFEATURE 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

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

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 added a subscriber: Viacheslav.

Open please a PR