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

Introduce `ProgramHandle` abstraction

Open danielocfb opened this issue 1 year ago • 1 comments

We should think about introducing a ProgramHandle type, similar to what we have with MapHandle. We seem to have a bunch of somewhat confusing APIs that work on file descriptors, when really I think they should be abstracted behind such a type.

danielocfb avatar Aug 22 '24 17:08 danielocfb

While at it, let's also think about https://docs.rs/libbpf-rs/latest/libbpf_rs/struct.MapInfo.html and whether we want a ProgramInfo similar to it.

danielocfb avatar Nov 11 '24 18:11 danielocfb