Lines Matching refs:tid
79 static String8 getThreadName(pid_t tid) { in getThreadName() argument
85 snprintf(path, sizeof(path), PATH_THREAD_NAME, tid); in getThreadName()
95 return String8::format("[err-unknown-tid-%d]", tid); in getThreadName()
163 pid_t tid = -1; in update() local
164 sscanf(ep->d_name, "%d", &tid); in update()
166 if (tid < 0) { in update()
173 ssize_t idx = mThreadMap.add(tid, ThreadInfo()); in update()
186 int ignoreDepth = (selfPid == tid) ? IGNORE_DEPTH_CURRENT_THREAD : 0; in update()
189 threadInfo.callStack.update(ignoreDepth, tid); in update()
192 threadInfo.threadName = getThreadName(tid); in update()
195 __FUNCTION__, tid, threadInfo.callStack.size()); in update()
226 pid_t tid = mThreadMap.keyAt(i); in printInternal() local
231 printer.printFormatLine("\"%s\" sysTid=%d", threadName.string(), tid); in printInternal()