Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aya: tidy bpf syscalls and feature support functions into submodules
This organizes the bpf syscalls and feature probe functions in aya/src/sys/bpf.rs into submodules: btf, link, map, object, program, utils, and feature_probe. This is to help make development slightly less daunting to parse and expand on. The submodules, except for feature_probe, are re-exported so that importing them remains unchanged (i.e. crate::sys::foo). The feature probe submodule isn't re-exported (uses crate::sys::feature_probe::foo) so that there's some separation between bpf syscall stuff and feature probing.
- Loading branch information