Home
last modified time | relevance | path

Searched refs:cgroupPath (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/startup/appspawn/modules/common/
H A Dappspawn_cgroup.c177 char cgroupPath[PATH_MAX] = {}; in ProcessMgrRemoveApp() local
179 int ret = GetCgroupPath(appInfo, cgroupPath, sizeof(cgroupPath)); in ProcessMgrRemoveApp()
182 ret = memcpy_s(procPath, sizeof(procPath), cgroupPath, sizeof(cgroupPath)); in ProcessMgrRemoveApp()
189 ret = rmdir(cgroupPath); in ProcessMgrRemoveApp()
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dpeer_binder_catcher.cpp324 std::string cgroupPath = "/proc/" + std::to_string(pid) + "/cgroup"; in IsAncoProc() local
325 std::string firstLine = FileUtil::GetFirstLine(cgroupPath); in IsAncoProc()