Lines Matching refs:ThreadEntry
32 ThreadEntry* thread = FindThreadOrNew(pid, tid); in SetThreadName()
41 ThreadEntry* parent = FindThreadOrNew(ppid, ptid); in ForkThread()
42 ThreadEntry* child = FindThreadOrNew(pid, tid); in ForkThread()
56 ThreadEntry* ThreadTree::FindThreadOrNew(int pid, int tid) { in FindThreadOrNew()
71 ThreadEntry* ThreadTree::CreateThread(int pid, int tid) { in CreateThread()
78 ThreadEntry* process = FindThreadOrNew(pid, pid); in CreateThread()
81 ThreadEntry* thread = new ThreadEntry{ in CreateThread()
86 auto pair = thread_tree_.insert(std::make_pair(tid, std::unique_ptr<ThreadEntry>(thread))); in CreateThread()
116 ThreadEntry* thread = FindThreadOrNew(pid, tid); in AddThreadMap()
196 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap()
206 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
335 std::vector<const ThreadEntry*> ThreadTree::GetAllThreads() const { in GetAllThreads()
336 std::vector<const ThreadEntry*> threads; in GetAllThreads()