Commit Graph

556 Commits (b6963cb6bc1eb59d202c7700a51146c1920f4c64)

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