mirror of https://github.com/aya-rs/aya
- Add helper methods to get useful information from the ProgramInfo object which is returned by the `loaded_programs()` API. Specifically this code mirrors the `bpftool prog` command in terms of useful fields. - Add a new API macro to each aya `Program` type to allow us to fetch its accompanying `ProgramInfo` metadata after its been loaded. - Add a new ProgramInfo constructor that builds a new instance using a raw fd. - Add a smoke test for the loaded_programs() API as well as all the relevant methods on the ProgramInfo type. Signed-off-by: Andrew Stoycos <astoycos@redhat.com> |
2 years ago | |
---|---|---|
.. | ||
libbpf@a2258003f2 | 2 years ago | |
public-api | 2 years ago | |
src | 2 years ago | |
Cargo.toml | 2 years ago |