MCPcopy Create free account
hub / github.com/apache/mesos / getCgroupPath

Function getCgroupPath

src/slave/containerizer/mesos/paths.cpp:600–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598
599
600string 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
613Option<ContainerID> parseCgroupPath(

Callers 9

TEST_PFunction · 0.85
TEST_FFunction · 0.85
forkMethod · 0.85
destroyMethod · 0.85
_destroyMethod · 0.85
___recoverMethod · 0.85
____recoverMethod · 0.85
prepareMethod · 0.85
foreachFunction · 0.85

Calls 2

buildPathFunction · 0.85
joinFunction · 0.50

Tested by 2

TEST_PFunction · 0.68
TEST_FFunction · 0.68