Skip to main content

cgroup_ops

Function cgroup_ops 

Source
pub fn cgroup_ops() -> Result<Option<&'static str>>
Expand description

The struct_ops map of the BPF object whose cgroup callbacks have the names the running kernel gives them: cpuctl_, or cgroup_ on a kernel from before the cid form renamed them. None for a kernel built without group scheduling, which has neither.