Searched refs:status_file (Results 1 – 1 of 1) sorted by relevance
253 static bool ReadThreadNameAndTgid(const std::string& status_file, std::string* comm, pid_t* tgid) { in ReadThreadNameAndTgid() argument254 FILE* fp = fopen(status_file.c_str(), "re"); in ReadThreadNameAndTgid()295 std::string status_file = android::base::StringPrintf("/proc/%d/task/%d/status", pid, tid); in GetThreadComm() local299 if (!ReadThreadNameAndTgid(status_file, &comm, &tgid)) { in GetThreadComm()