Bug#973870: linux: Please consider enabling CONFIG_DEBUG_INFO_BTF

2020-11-15 Thread Simon Ruderich
Hello,

it would be great if this makes it into Bullseye. BTF is not only
relevant for tracing but for all BPF-related tasks, including for
example XDP.

According to [1], most other distributions (Fedora 31+, RHEL
8.2+, Arch Linux, Ubuntu 20.10+) already enable BTF. Having this
in the next Debian release would be very useful.

I installed the dwarves package and tested building the linux
source package with CONFIG_DEBUG_INFO_BTF and it worked fine.

Regards
Simon

[1] https://github.com/libbpf/libbpf#bpf-co-re-compile-once--run-everywhere
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9


signature.asc
Description: PGP signature


Bug#973870: linux: Please consider enabling CONFIG_DEBUG_INFO_BTF

2020-11-06 Thread Michael Prokop
Package: linux
Version: 5.9.1-1
Severity: wishlist

Hi,

it would be great if Debian kernels could also enable the
CONFIG_DEBUG_INFO_BTF option, quoting from
http://www.brendangregg.com/blog/2020-11-04/bpf-co-re-btf-libbpf.html:

| CONFIG_DEBUG_INFO_BTF=y
|
| These new BPF binaries are only possible if this kernel config
| option is set. It adds about 1.5 Mbytes to the kernel image (this is
| tiny in comparison to DWARF debuginfo, which can be hundreds of
| Mbytes). Ubuntu 20.10 has already made this config option the
| default, and all other distros should follow. Note to distro
| maintainers: it requires pahole >= 1.16.

regards
-mika-