Lines Matching refs:tid
123 bool CgroupGetAttributePathForTask(const std::string& attr_name, int tid, std::string* path) { in CgroupGetAttributePathForTask() argument
131 if (!attr->GetPathForTask(tid, path)) { in CgroupGetAttributePathForTask()
132 PLOG(ERROR) << "Failed to find cgroup for tid " << tid; in CgroupGetAttributePathForTask()
174 bool SetTaskProfiles(int tid, const std::vector<std::string>& profiles, bool use_fd_cache) { in SetTaskProfiles() argument
175 return TaskProfiles::GetInstance().SetTaskProfiles(tid, std::span<const std::string>(profiles), in SetTaskProfiles()
179 bool SetTaskProfiles(int tid, std::initializer_list<std::string_view> profiles, bool use_fd_cache) { in SetTaskProfiles() argument
181 tid, std::span<const std::string_view>(profiles), use_fd_cache); in SetTaskProfiles()
184 bool SetTaskProfiles(int tid, std::span<const std::string_view> profiles, bool use_fd_cache) { in SetTaskProfiles() argument
185 return TaskProfiles::GetInstance().SetTaskProfiles(tid, profiles, use_fd_cache); in SetTaskProfiles()
626 static bool SetProcessGroupValue(int tid, const std::string& attr_name, int64_t value) { in SetProcessGroupValue() argument
633 if (!CgroupGetAttributePathForTask(attr_name, tid, &path)) { in SetProcessGroupValue()
657 bool getAttributePathForTask(const std::string& attr_name, int tid, std::string* path) { in getAttributePathForTask() argument
658 return CgroupGetAttributePathForTask(attr_name, tid, path); in getAttributePathForTask()