Lines Matching refs:thread
54 VirtualThread &thread = GetThread(pid, tid); in UpdateThread() local
56 thread.name_ = name; in UpdateThread()
61 return thread; in UpdateThread()
76 VirtualThread &thread = userSpaceThreadMap_.at(tid); in CreateThread() local
82 thread.ParseMap(); in CreateThread()
90 thread.name_ = ReadThreadName(pid); in CreateThread()
92 thread.name_.c_str(), thread.GetMaps().size()); in CreateThread()
94 auto commRecord = std::make_unique<PerfRecordComm>(false, pid, tid, thread.name_); in CreateThread()
98 for (auto &memMapItem : thread.GetMaps()) { in CreateThread()
100 std::make_unique<PerfRecordMmap2>(false, thread.pid_, thread.tid_, memMapItem); in CreateThread()
105 thread.pid_, thread.tid_, thread.name_.c_str(), memMapItem.name_.c_str(), in CreateThread()
117 return thread; in CreateThread()
140 VirtualThread &thread = GetThread(pid, tid); in UpdateThreadMaps() local
141 thread.CreateMapItem(filename, begin, len, offset); in UpdateThreadMaps()
361 auto &thread = UpdateThread(recordSample.data_.pid, recordSample.data_.tid); in UnwindFromRecord() local
362 callstack_.UnwindCallStack(thread, recordSample.data_.user_abi == PERF_SAMPLE_REGS_ABI_32, in UnwindFromRecord()
371 callstack_.ExpandCallStack(thread.tid_, recordSample.callFrames_, callstackMergeLevel_); in UnwindFromRecord()
482 const VirtualThread &thread) in GetKernelSymbol() argument
484 Symbol vaddrSymbol(ip, thread.name_); in GetKernelSymbol()
523 const Symbol VirtualRuntime::GetUserSymbol(uint64_t ip, const VirtualThread &thread) in GetUserSymbol() argument
525 Symbol vaddrSymbol(ip, thread.name_); in GetUserSymbol()
526 const MemMapItem *mmap = thread.FindMapByAddr(ip); in GetUserSymbol()
528 SymbolsFile *symbolsFile = thread.FindSymbolsFileByMap(*mmap); in GetUserSymbol()
554 thread.ReportVaddrMapMiss(ip); in GetUserSymbol()