• Home
  • Raw
  • Download

Lines Matching refs:tid

61 std::string VirtualRuntime::ReadThreadName(pid_t tid)  in ReadThreadName()  argument
63 std::string comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName()
69 VirtualThread &VirtualRuntime::UpdateThread(pid_t pid, pid_t tid, const std::string name) in UpdateThread() argument
74 VirtualThread &thread = GetThread(pid, tid); in UpdateThread()
84 VirtualThread &VirtualRuntime::CreateThread(pid_t pid, pid_t tid) in CreateThread() argument
87 userSpaceThreadMap_.emplace(std::piecewise_construct, std::forward_as_tuple(tid), in CreateThread()
88 std::forward_as_tuple(pid, tid, symbolsFiles_, this)); in CreateThread()
89 VirtualThread& thr = userSpaceThreadMap_.at(tid); in CreateThread()
93 VirtualThread &VirtualRuntime::GetThread(pid_t pid, pid_t tid) in GetThread() argument
95 HLOGV("find thread %u:%u", pid, tid); in GetThread()
96 auto it = userSpaceThreadMap_.find(tid); in GetThread()
99 VirtualThread& thr = CreateThread(pid, tid); in GetThread()
124 bool VirtualRuntime::GetSymbolName(pid_t pid, pid_t tid, std::vector<CallFrame>& callFrames, int of… in GetSymbolName() argument
140 auto symbol = GetSymbol(callFrame, pid, tid, in GetSymbolName()
180 void VirtualRuntime::UpdateMaps(pid_t pid, pid_t tid) in UpdateMaps() argument
182 auto &thread = UpdateThread(pid, tid); in UpdateMaps()
194 pid_t tid, in UnwindStack() argument
203 auto &thread = UpdateThread(pid, tid); in UnwindStack()
222 if (!GetSymbolName(pid, tid, callFrames, offset, true)) { in UnwindStack()
226 GetSymbolName(pid, tid, callFrames, offset, false); in UnwindStack()
238 if (!GetSymbolName(pid, tid, callFrames, offset, false)) { in UnwindStack()
397 const Symbol VirtualRuntime::GetSymbol(CallFrame& callFrame, pid_t pid, pid_t tid, in GetSymbol() argument
400 …HLOGM("try find tid %u ip 0x%" PRIx64 " in %zu symbolsFiles ", tid, callFrame.ip_, symbolsFiles_.s… in GetSymbol()
402 if (GetSymbolCache(callFrame.ip_, symbol, GetThread(pid, tid))) { in GetSymbol()
407 symbol = GetUserSymbol(callFrame.ip_, GetThread(pid, tid)); in GetSymbol()
409 HLOGM("GetUserSymbol valid tid = %d ip = 0x%" PRIx64 "", tid, callFrame.ip_); in GetSymbol()