fn find_mountpoint(group_path: &Path) -> Option<(Cow<'static, str>, &Path)>
Expand description

Scan mountinfo for cgroup v1 mountpoint with a cpu controller

If the cgroupfs is a bind mount then group_path is adjusted to skip over the already-included prefix