Lines Matching refs:upid
82 if (!iter_thread->upid.has_value()) { in UpdateThread()
90 context_->storage->GetProcess(iter_thread->upid.value()); in UpdateThread()
107 if (!thread->upid.has_value()) { in UpdateThread()
108 thread->upid = GetOrCreateProcess(pid); in UpdateThread()
111 ResolvePendingAssociations(utid, *thread->upid); in UpdateThread()
138 UniquePid upid; in UpdateProcess() local
140 std::tie(upid, process) = GetOrCreateProcessPtr(pid); in UpdateProcess()
143 return upid; in UpdateProcess()
152 UniquePid upid; in GetOrCreateProcessPtr() local
155 upid = it->second; in GetOrCreateProcessPtr()
157 upid = context_->storage->AddEmptyProcess(pid); in GetOrCreateProcessPtr()
158 pids_.emplace(pid, upid); in GetOrCreateProcessPtr()
166 return std::make_pair(upid, context_->storage->GetMutableProcess(upid)); in GetOrCreateProcessPtr()
177 if (thd1->upid.has_value() && !thd2->upid.has_value()) { in AssociateThreads()
178 thd2->upid = *thd1->upid; in AssociateThreads()
179 ResolvePendingAssociations(utid2, *thd1->upid); in AssociateThreads()
183 if (thd2->upid.has_value() && !thd1->upid.has_value()) { in AssociateThreads()
184 thd1->upid = *thd2->upid; in AssociateThreads()
185 ResolvePendingAssociations(utid1, *thd2->upid); in AssociateThreads()
189 if (thd1->upid.has_value() && thd1->upid != thd2->upid) { in AssociateThreads()
201 UniquePid upid) { in ResolvePendingAssociations() argument
202 PERFETTO_DCHECK(context_->storage->GetMutableThread(utid_arg)->upid == upid); in ResolvePendingAssociations()
224 PERFETTO_DCHECK(!other_thd->upid || other_thd->upid == upid); in ResolvePendingAssociations()
225 other_thd->upid = upid; in ResolvePendingAssociations()