Searched refs:cg2_path (Results 1 – 2 of 2) sorted by relevance
59 std::string cg2_path; in TEST_F() local60 ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path)); in TEST_F()61 ASSERT_EQ(0, access(cg2_path.c_str(), R_OK)); in TEST_F()62 ASSERT_EQ(0, access((cg2_path + "/cgroup.controllers").c_str(), R_OK)); in TEST_F()
221 std::string cg2_path; in initPrograms() local223 if (!CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path)) { in initPrograms()229 unique_fd cg_fd(open(cg2_path.c_str(), O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in initPrograms()