Commit Graph

7 Commits (e11edc072b63388b4f0119c819357b3aa48ba27e)

Author SHA1 Message Date
Alessandro Decina 0cf5d17e38 deps: enable only the std feature for the futures crate 4 years ago
Alessandro Decina 55d8bcf386 xdp: add support for attaching with custom xdp flags 4 years ago
Alessandro Decina 873691d050 Trim deps a bit more 4 years ago
Alessandro Decina f1da541234 The futures crate is only needed when async is enabled 4 years ago
Alessandro Decina fdc4dad5ff maps: add AsyncPerfMap
When the async_tokio or async_std features are enabled, AsyncPerfMap
provides an async version of PerfMap which returns a future from
read_events()
4 years ago
Alessandro Decina d4e282535b bpf, perf_map: make maps usable from multiple threads
Change PerfMap API so that individual buffers can be read from multiple
threads.

Change the way maps are stored in the `Bpf` struct from RefCell to a
custom RwLock.
4 years ago
Alessandro Decina af8f769b50 Turn the project into a workspace, move code under aya/ 4 years ago