mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-30 13:00:24 +00:00
887812197c
If another scheduler is already running, the Rust schedulers based on scx_utils are reporting an error like the following, that can be a bit difficult to understand: Error: Failed to attach struct ops Caused by: bpf call "libbpf_rs::map::Map::attach_struct_ops::{{closure}}" returned NULL Change the scx_ops_attach macro to check if another sched_ext scheduler is running and in that case report a more explicit error. With this applied: $ sudo scx_rustland Error: another sched_ext scheduler is already running Signed-off-by: Andrea Righi <andrea.righi@canonical.com> |
||
---|---|---|
.. | ||
scx_rustland_core | ||
scx_utils | ||
meson.build |