/external/perfetto/src/trace_processor/importers/common/ |
D | process_tracker.h | 41 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 …]
|
D | process_tracker.cc | 32 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 …]
|
D | event_tracker.h | 56 UniqueTid utid); 80 UniqueTid utid = 0; 86 UniqueTid utid = 0;
|
D | event_tracker.cc | 42 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()
|
D | track_tracker.h | 32 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_;
|
D | process_tracker_unittest.cc | 108 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()
|
D | track_tracker.cc | 44 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/ |
D | rss_stat_tracker.cc | 55 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()
|
D | sched_event_tracker.h | 95 UniqueTid last_utid = std::numeric_limits<UniqueTid>::max(); 101 UniqueTid prev_utid, 106 UniqueTid next_utid,
|
D | sched_event_tracker.cc | 85 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()
|
D | binder_tracker.cc | 93 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()
|
D | rss_stat_tracker.h | 39 base::Optional<UniqueTid> FindUtidForMmId(int64_t mm_id, 43 std::unordered_map<int64_t, UniqueTid> mm_id_to_utid_;
|
D | ftrace_parser.cc | 371 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/ |
D | syscall_tracker.h | 58 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/ |
D | track_event_parser.h | 53 UniqueTid ParseThreadDescriptor(protozero::ConstBytes); 63 void ParseChromeThreadDescriptor(UniqueTid, protozero::ConstBytes);
|
D | track_event_parser.cc | 306 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()
|
D | profile_module.cc | 121 UniqueTid utid = procs->UpdateThread(tid, pid); in ParseStreamingProfilePacket()
|
/external/perfetto/src/trace_processor/ |
D | export_json.cc | 675 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 …]
|
D | export_json_unittest.cc | 121 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/ |
D | fuchsia_trace_parser.cc | 251 UniqueTid utid = in ParseTracePacket() 265 UniqueTid utid = in ParseTracePacket() 321 UniqueTid utid = in ParseTracePacket() 329 UniqueTid utid = in ParseTracePacket() 350 UniqueTid utid = in ParseTracePacket()
|
D | fuchsia_trace_tokenizer.cc | 444 UniqueTid utid = procs->UpdateThread(static_cast<uint32_t>(obj_id), in ParseRecord() 507 UniqueTid utid = in ParseRecord()
|
/external/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_parser.cc | 123 UniqueTid utid; in ParseSystracePoint() 138 UniqueTid utid; in ParseSystracePoint()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_deadlock_detector1.cc | 115 dd.addEdges(<->dd, m->id, cb->Unwind(), cb->UniqueTid()); in MutexBeforeLock() 169 dd.addEdges(<->dd, m->id, stk ? stk : cb->Unwind(), cb->UniqueTid()); in MutexAfterLock()
|
D | sanitizer_deadlock_detector_interface.h | 69 virtual int UniqueTid() { return 0; } in UniqueTid() function
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_trace_parser.cc | 91 UniqueTid utid = procs->UpdateThread(tid, pid); in ParseTracePacket()
|