On Mon, May 31, 2021 at 7:18 PM Jose E. Marchesi via Gcc-patches
wrote:
>
> This patch changes the BPF GCC backend in order to use the DWARF debug
> hooks and therefore enables the user to generate BTF debugging
> information with -gbtf. Generating BTF is crucial when compiling BPF
> programs, si
This patch changes the BPF GCC backend in order to use the DWARF debug
hooks and therefore enables the user to generate BTF debugging
information with -gbtf. Generating BTF is crucial when compiling BPF
programs, since the CO-RE (compile-once, run-everwhere) mechanism
used by the kernel BPF loader