aya-rs / aya

Aya is an eBPF library for the Rust programming language, built with a focus on developer experience and operability.
https://aya-rs.dev/book/
Apache License 2.0
3.11k stars 276 forks source link

Add support for BPF_PROG_TYPE_SCHED_ACT, #206

Open dave-tucker opened 2 years ago

alessandrod commented 2 years ago

I think we should add support for this only in userspace btw (so we can load existing programs). For aya-ebpf, we already support SCHED_CLS, which supports a superset of SCHED_ACT (SCHED_ACT is pretty much useless these days)