mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-30 04:50:24 +00:00
7c8c5fdd48
Use the new consume_raw() API provided by libbpf-rs with https://github.com/libbpf/libbpf-rs/pull/680. This allows to be more precise and efficient at processing tasks consumed from the BPF ring buffer. NOTE: the new consume_raw() API is not available yet in any official release of the libbpf-rs crate, but cargo allows to pick versions directly from git. This slightly increases the build time of scx_rustland_core and the schedulers based on this crate (since we need to recompile libbpf-rs from source), but we can re-add a proper versioned dependency once the libbpf-rs is out. TODO: this new API also offers the possibility to consume multiple items from the BPF ring buffer with a single call to consume_raw(). This could be investigated and implemented as a potential future enhancement. Signed-off-by: Andrea Righi <andrea.righi@canonical.com> |
||
---|---|---|
.. | ||
scx_rustland_core | ||
scx_utils | ||
meson.build |