libbpf-rs icon indicating copy to clipboard operation
libbpf-rs copied to clipboard

Statically link BPF object files to avoid having DWARF info

Open jyn514 opened this issue 3 years ago • 1 comments

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

jyn514 avatar Jan 11 '22 16:01 jyn514

This would be amazing. I am currently not checking in the generated skeleton in git due to this

javierhonduco avatar Jul 16 '22 07:07 javierhonduco