| 598 | |
| 599 | |
| 600 | string getCgroupPath( |
| 601 | const string& cgroupsRoot, |
| 602 | const ContainerID& containerId) |
| 603 | { |
| 604 | return path::join( |
| 605 | cgroupsRoot, |
| 606 | containerizer::paths::buildPath( |
| 607 | containerId, |
| 608 | CGROUP_SEPARATOR, |
| 609 | containerizer::paths::JOIN)); |
| 610 | } |
| 611 | |
| 612 | |
| 613 | Option<ContainerID> parseCgroupPath( |