mirror of https://github.com/aya-rs/aya
Add bpf syscall function for BPF_ENABLE_STATS to enable stats tracking for benchmarking purposes. Additionally, move `#[cfg(test)]` annotation around the `Drop` trait instead. Having separate functions causes some complications when needing ownership/moving of the inner value `OwnedFd` when `Drop` is manually implemented. |
8 months ago | |
---|---|---|
.. | ||
libbpf@20ea95b450 | 1 year ago | |
public-api | 8 months ago | |
src | 9 months ago | |
Cargo.toml | 1 year ago |