Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Denvironment.cpp253 static bool ReadThreadNameAndTgid(const std::string& status_file, std::string* comm, pid_t* tgid) { in ReadThreadNameAndTgid() argument
254 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() local
299 if (!ReadThreadNameAndTgid(status_file, &comm, &tgid)) { in GetThreadComm()