libbpf-rs
libbpf-rs copied to clipboard
Statically link BPF object files to avoid having DWARF info
As a summary of the conversation in https://github.com/libbpf/libbpf-rs/pull/169, the approach we're going to go with is statically linking BPF object files, which will strip out DWARF info as a side-effect
Originally posted by @insearchoflosttime in https://github.com/libbpf/libbpf-rs/issues/163#issuecomment-1006820411
This would be amazing. I am currently not checking in the generated skeleton in git due to this