mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Add a new `aya-common` crate with a `SpinLock` struct, that wraps `bpf_spin_lock` and allows to use it in BPF maps. Add an extension trait `EbpfSpinLock` that provides a `lock` method, which is a wrapper over `bpf_spin_lock` helper. It returns a `SpinLockGuard` that calls `bpf_spin_unlock` helper once dropped. Test that functionality with a simple XDP counter program. |
1 month ago | |
|---|---|---|
| .. | ||
| aya-build.txt | 1 month ago | |
| aya-common.txt | 1 month ago | |
| aya-ebpf-bindings.txt | 8 months ago | |
| aya-ebpf-cty.txt | 2 years ago | |
| aya-ebpf-macros.txt | 2 months ago | |
| aya-ebpf.txt | 1 month ago | |
| aya-log-common.txt | 2 months ago | |
| aya-log-ebpf-macros.txt | 2 years ago | |
| aya-log-ebpf.txt | 4 months ago | |
| aya-log-parser.txt | 8 months ago | |
| aya-log.txt | 2 months ago | |
| aya-obj.txt | 1 month ago | |
| aya.txt | 1 month ago | |