Home
last modified time | relevance | path

Searched refs:UniqueTid (Results 1 – 25 of 31) sorted by relevance

12

/external/perfetto/src/trace_processor/importers/common/
Dprocess_tracker.h41 using UniqueThreadIterator = std::vector<UniqueTid>::const_iterator;
51 UniqueTid StartNewThread(base::Optional<int64_t> timestamp,
56 bool IsThreadAlive(UniqueTid utid);
63 base::Optional<UniqueTid> GetThreadOrNull(uint32_t tid);
66 UniqueTid GetOrCreateThread(uint32_t tid);
71 virtual UniqueTid UpdateThreadName(uint32_t tid, StringId thread_name_id);
75 virtual void SetThreadNameIfUnset(UniqueTid utid, StringId thread_name_id);
80 virtual UniqueTid UpdateThread(uint32_t tid, uint32_t tgid);
129 void AssociateThreads(UniqueTid, UniqueTid);
146 void ResolvePendingAssociations(UniqueTid, UniquePid);
[all …]
Dprocess_tracker.cc32 UniqueTid ProcessTracker::StartNewThread(base::Optional<int64_t> timestamp, in StartNewThread()
41 UniqueTid new_utid = thread_table->Insert(row).row; in StartNewThread()
50 UniqueTid utid = GetOrCreateThread(tid); in EndThread()
68 base::Optional<UniqueTid> ProcessTracker::GetThreadOrNull(uint32_t tid) { in GetThreadOrNull()
74 UniqueTid utid = *opt_utid; in GetThreadOrNull()
86 UniqueTid ProcessTracker::GetOrCreateThread(uint32_t tid) { in GetOrCreateThread()
91 UniqueTid ProcessTracker::UpdateThreadName(uint32_t tid, in UpdateThreadName()
100 void ProcessTracker::SetThreadNameIfUnset(UniqueTid utid, in SetThreadNameIfUnset()
107 bool ProcessTracker::IsThreadAlive(UniqueTid utid) { in IsThreadAlive()
134 base::Optional<UniqueTid> ProcessTracker::GetThreadOrNull( in GetThreadOrNull()
[all …]
Devent_tracker.h56 UniqueTid utid);
80 UniqueTid utid = 0;
86 UniqueTid utid = 0;
Devent_tracker.cc42 UniqueTid utid) { in PushProcessCounterForThread()
84 pending.utid = static_cast<UniqueTid>(ref); in PushInstant()
99 UniqueTid utid = pending_counter.utid; in FlushPendingEvents()
108 UniqueTid utid = pending_instant.utid; in FlushPendingEvents()
Dtrack_tracker.h32 TrackId InternThreadTrack(UniqueTid utid);
152 TrackId InternThreadCounterTrack(StringId name, UniqueTid utid);
256 std::map<UniqueTid, TrackId> thread_tracks_;
271 std::map<std::pair<StringId, UniqueTid>, TrackId> utid_counter_tracks_;
280 std::map<UniqueTid, uint64_t /*uuid*/> descriptor_uuids_by_utid_;
Dprocess_tracker_unittest.cc108 UniqueTid t1 = context.process_tracker->UpdateThread(/*tid=*/2, /*pid=*/1); in TEST_F()
112 UniqueTid t2 = context.process_tracker->UpdateThread(/*tid=*/2, /*pid=*/1); in TEST_F()
Dtrack_tracker.cc44 TrackId TrackTracker::InternThreadTrack(UniqueTid utid) { in InternThreadTrack()
389 UniqueTid utid = context_->process_tracker->UpdateThread(*reservation.tid, in ResolveDescriptorTrack()
583 TrackId TrackTracker::InternThreadCounterTrack(StringId name, UniqueTid utid) { in InternThreadCounterTrack()
/external/perfetto/src/trace_processor/importers/ftrace/
Drss_stat_tracker.cc55 base::Optional<UniqueTid> utid; in ParseRssStat()
71 base::Optional<UniqueTid> RssStatTracker::FindUtidForMmId(int64_t mm_id, in FindUtidForMmId()
77 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in FindUtidForMmId()
92 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in FindUtidForMmId()
Dsched_event_tracker.h95 UniqueTid last_utid = std::numeric_limits<UniqueTid>::max();
101 UniqueTid prev_utid,
106 UniqueTid next_utid,
Dsched_event_tracker.cc85 UniqueTid next_utid = in PushSchedSwitch()
106 UniqueTid prev_utid = in PushSchedSwitch()
136 UniqueTid next_utid = in PushSchedSwitchCompact()
145 if (pending_sched->last_utid == std::numeric_limits<UniqueTid>::max()) { in PushSchedSwitchCompact()
165 UniqueTid prev_utid = pending_sched->last_utid; in PushSchedSwitchCompact()
187 UniqueTid prev_utid, in AddRawEventAndStartSlice()
192 UniqueTid next_utid, in AddRawEventAndStartSlice()
280 if (pending_sched->last_utid == std::numeric_limits<UniqueTid>::max()) { in PushSchedWakingCompact()
Dbinder_tracker.cc93 UniqueTid src_utid = context_->process_tracker->GetOrCreateThread(tid); in Transaction()
118 UniqueTid utid = context_->process_tracker->GetOrCreateThread( in Transaction()
153 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in TransactionReceived()
209 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in Locked()
224 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in Unlock()
240 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in TransactionAllocBuf()
Drss_stat_tracker.h39 base::Optional<UniqueTid> FindUtidForMmId(int64_t mm_id,
43 std::unordered_map<int64_t, UniqueTid> mm_id_to_utid_;
Dftrace_parser.cc371 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseGenericFtrace()
410 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseTypedFtraceToRaw()
592 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseIonHeapGrowOrShrink()
628 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseIonStat()
639 UniqueTid utid = context_->process_tracker->GetOrCreateThread( in ParseSignalGenerate()
652 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseSignalDeliver()
691 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseOOMScoreAdjUpdate()
698 UniqueTid utid = context_->process_tracker->GetOrCreateThread( in ParseOOMKill()
709 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseMmEventRecord()
731 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseSysEvent()
/external/perfetto/src/trace_processor/importers/syscalls/
Dsyscall_tracker.h58 void Enter(int64_t ts, UniqueTid utid, uint32_t syscall_num) { in Enter()
67 void Exit(int64_t ts, UniqueTid utid, uint32_t syscall_num) { in Exit()
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_parser.h53 UniqueTid ParseThreadDescriptor(protozero::ConstBytes);
63 void ParseChromeThreadDescriptor(UniqueTid, protozero::ConstBytes);
Dtrack_event_parser.cc306 UniqueTid utid_candidate = procs->UpdateThread(tid, pid); in ParseTrackAssociation()
1075 base::Optional<UniqueTid> utid_;
1076 base::Optional<UniqueTid> upid_;
1081 base::Optional<UniqueTid> legacy_passthrough_utid_;
1254 UniqueTid utid = ParseThreadDescriptor(decoder.thread()); in ParseTrackDescriptor()
1312 UniqueTid TrackEventParser::ParseThreadDescriptor( in ParseThreadDescriptor()
1315 UniqueTid utid = context_->process_tracker->UpdateThread( in ParseThreadDescriptor()
1338 UniqueTid utid, in ParseChromeThreadDescriptor()
Dprofile_module.cc121 UniqueTid utid = procs->UpdateThread(tid, pid); in ParseStreamingProfilePacket()
/external/perfetto/src/trace_processor/
Dexport_json.cc675 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in MapUniquePidsAndTids()
701 for (UniqueTid utid = 0; utid < thread_table.row_count(); ++utid) { in ExportThreadNames()
744 base::Optional<UniqueTid> legacy_utid; in ExportSlices()
822 UniqueTid utid = thread_track.utid()[*opt_thread_track_row]; in ExportSlices()
899 UniqueTid utid = thread_track.utid()[*opt_thread_track_row]; in ExportSlices()
997 UniqueTid utid = static_cast<UniqueTid>(events.utid()[index]); in ConvertLegacyRawEventToJson()
1112 UniqueTid utid = static_cast<UniqueTid>(samples.utid()[i]); in ExportCpuProfileSamples()
1283 std::pair<uint32_t, uint32_t> UtidToPidAndTid(UniqueTid utid) { in UtidToPidAndTid()
1305 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in IsValidPidOrTid()
1326 std::map<UniqueTid, std::pair<uint32_t, uint32_t>>
[all …]
Dexport_json_unittest.cc121 UniqueTid utid = context_.process_tracker->GetOrCreateThread(kThreadID); in TEST_F()
167 UniqueTid utid = context_.process_tracker->GetOrCreateThread(kThreadID); in TEST_F()
409 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
453 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
501 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
549 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
593 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
640 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
687 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
786 UniqueTid utid = context_.process_tracker->GetOrCreateThread(kThreadID); in TEST_F()
[all …]
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_parser.cc251 UniqueTid utid = in ParseTracePacket()
265 UniqueTid utid = in ParseTracePacket()
321 UniqueTid utid = in ParseTracePacket()
329 UniqueTid utid = in ParseTracePacket()
350 UniqueTid utid = in ParseTracePacket()
Dfuchsia_trace_tokenizer.cc444 UniqueTid utid = procs->UpdateThread(static_cast<uint32_t>(obj_id), in ParseRecord()
507 UniqueTid utid = in ParseRecord()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser.cc123 UniqueTid utid; in ParseSystracePoint()
138 UniqueTid utid; in ParseSystracePoint()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cc115 dd.addEdges(&lt->dd, m->id, cb->Unwind(), cb->UniqueTid()); in MutexBeforeLock()
169 dd.addEdges(&lt->dd, m->id, stk ? stk : cb->Unwind(), cb->UniqueTid()); in MutexAfterLock()
Dsanitizer_deadlock_detector_interface.h69 virtual int UniqueTid() { return 0; } in UniqueTid() function
/external/perfetto/src/trace_processor/importers/json/
Djson_trace_parser.cc91 UniqueTid utid = procs->UpdateThread(tid, pid); in ParseTracePacket()

12