Searched defs:cgroup_root_path (Results 1 - 1 of 1) sorted by relevance

/system/core/libprocessgroup/
H A Dprocessgroup.cpp94 static const char* cgroup_root_path = NULL; local
98 cgroup_root_path = access(MEM_CGROUP_TASKS, F_OK) || access(MEM_CGROUP_PATH, W_OK) ?
101 return cgroup_root_path;
225 const char* cgroup_root_path = getCgroupRootPath(); local
226 std::unique_ptr<DIR, decltype(&closedir)> root(opendir(cgroup_root_path), closedir);
228 PLOG(ERROR) << "Failed to open " << cgroup_root_path;
241 snprintf(path, sizeof(path), "%s/%s", cgroup_root_path, dir->d_name);

Completed in 53 milliseconds