find_mountpoint

Function find_mountpoint 

Source
fn find_mountpoint(group_path: &Path) -> Option<(Cow<'static, str>, &Path)>
Available on Android or Linux only.
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