Commit Graph

759 Commits (fcd31719c7b7fb5f221638f2c931e5a953e45538)

Author SHA1 Message Date
Alessandro Decina 95a24c6f8b perf_map: implement AsRawFd 5 years ago
Alessandro Decina 5d6fe8bdf4 Add IOError variants to PerfMapError and PerfBufferError 5 years ago
Alessandro Decina b9be2f1a9b Make aya::maps::perf_map public 5 years ago
Alessandro Decina 160e0be6d6 Change the suffix of errors from *Failed to *Error 5 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.
5 years ago
Alessandro Decina d7c91efb2d Make online_cpus() util public 5 years ago
Alessandro Decina 2215e202f4 Generate arch specific bindings
Currently x86_64 and aarch64 are supported
5 years ago
Alessandro Decina 1de392964b Add src/generated/netlink_bindings.rs to repo 5 years ago
Alessandro Decina af8f769b50 Turn the project into a workspace, move code under aya/ 5 years ago