Home
last modified time | relevance | path

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

12

/external/perfetto/src/trace_processor/importers/common/
Dprocess_tracker.h58 using UniqueThreadIterator = std::vector<UniqueTid>::const_iterator;
68 UniqueTid StartNewThread(base::Optional<int64_t> timestamp, uint32_t tid);
71 bool IsThreadAlive(UniqueTid utid);
78 base::Optional<UniqueTid> GetThreadOrNull(uint32_t tid);
81 UniqueTid GetOrCreateThread(uint32_t tid);
85 virtual UniqueTid UpdateThreadName(uint32_t tid,
91 virtual void UpdateThreadNameByUtid(UniqueTid utid,
98 virtual UniqueTid UpdateThread(uint32_t tid, uint32_t tgid);
152 void AssociateThreads(UniqueTid, UniqueTid);
177 void ResolvePendingAssociations(UniqueTid, UniquePid);
[all …]
Dprocess_tracker.cc47 UniqueTid ProcessTracker::StartNewThread(base::Optional<int64_t> timestamp, in StartNewThread()
54 UniqueTid new_utid = thread_table->Insert(row).row; in StartNewThread()
65 UniqueTid utid = GetOrCreateThread(tid); in EndThread()
83 base::Optional<UniqueTid> ProcessTracker::GetThreadOrNull(uint32_t tid) { in GetThreadOrNull()
89 UniqueTid utid = *opt_utid; in GetThreadOrNull()
101 UniqueTid ProcessTracker::GetOrCreateThread(uint32_t tid) { in GetOrCreateThread()
106 UniqueTid ProcessTracker::UpdateThreadName(uint32_t tid, in UpdateThreadName()
114 void ProcessTracker::UpdateThreadNameByUtid(UniqueTid utid, in UpdateThreadNameByUtid()
127 bool ProcessTracker::IsThreadAlive(UniqueTid utid) { in IsThreadAlive()
154 base::Optional<UniqueTid> ProcessTracker::GetThreadOrNull( in GetThreadOrNull()
[all …]
Devent_tracker.h66 UniqueTid utid);
90 UniqueTid utid = 0;
96 UniqueTid utid = 0;
Devent_tracker.cc42 UniqueTid utid) { in PushProcessCounterForThread()
97 pending.utid = static_cast<UniqueTid>(ref); in PushInstant()
112 UniqueTid utid = pending_counter.utid; in FlushPendingEvents()
121 UniqueTid utid = pending_instant.utid; in FlushPendingEvents()
Dtrack_tracker.h32 TrackId InternThreadTrack(UniqueTid utid);
84 TrackId InternThreadCounterTrack(StringId name, UniqueTid utid);
137 std::map<UniqueTid, TrackId> thread_tracks_;
149 std::map<std::pair<StringId, UniqueTid>, TrackId> utid_counter_tracks_;
Dprocess_tracker_unittest.cc112 UniqueTid t1 = context.process_tracker->UpdateThread(/*tid=*/2, /*pid=*/1); in TEST_F()
116 UniqueTid t2 = context.process_tracker->UpdateThread(/*tid=*/2, /*pid=*/1); in TEST_F()
/external/perfetto/src/trace_processor/dynamic/
Dthread_state_generator.cc90 std::unordered_map<UniqueTid, ThreadSchedInfo> state_map; in ComputeThreadStateTable()
117 UniqueTid utid = utid_to_pending_info.first; in ComputeThreadStateTable()
128 std::unordered_map<UniqueTid, ThreadSchedInfo>& state_map, in AddSchedEvent() argument
132 UniqueTid utid = sched.GetTypedColumnByName<uint32_t>("utid")[sched_idx]; in AddSchedEvent()
203 std::unordered_map<UniqueTid, ThreadSchedInfo>& state_map) { in AddWakingEvent() argument
205 UniqueTid utid = static_cast<UniqueTid>( in AddWakingEvent()
261 UniqueTid utid, in FlushPendingEventsForThread()
301 std::unordered_map<UniqueTid, ThreadSchedInfo>& state_map) { in AddBlockedReasonEvent() argument
306 UniqueTid utid = static_cast<UniqueTid>(utid_col[blocked_idx]); in AddBlockedReasonEvent()
Dthread_state_generator.h60 std::unordered_map<UniqueTid, ThreadSchedInfo>& state_map,
67 std::unordered_map<UniqueTid, ThreadSchedInfo>& state_map);
72 std::unordered_map<UniqueTid, ThreadSchedInfo>& state_map);
74 void FlushPendingEventsForThread(UniqueTid utid,
Dthread_state_generator_unittest.cc45 void AddWaking(Ts ts, UniqueTid utid) { in AddWaking()
53 void AddWakup(Ts ts, UniqueTid utid) { in AddWakup()
61 void AddSched(base::Optional<Ts> end, UniqueTid utid, const char* end_state) { in AddSched()
79 void AddBlockedReason(Ts ts, UniqueTid utid, bool io_wait) { in AddBlockedReason()
102 UniqueTid utid, in VerifyThreadState()
109 const auto& utid_col = table_->GetTypedColumnByName<UniqueTid>("utid"); in VerifyThreadState()
140 const UniqueTid idle_thread_;
141 const UniqueTid thread_a_;
142 const UniqueTid thread_b_;
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_tracker.h168 static ResolvedDescriptorTrack Thread(UniqueTid utid,
175 UniqueTid utid() const { in utid()
183 UniqueTid is_root_in_scope() const { return is_root_in_scope_; } in is_root_in_scope()
191 UniqueTid utid_;
209 std::map<UniqueTid, TrackId> thread_tracks_;
221 std::map<UniqueTid, uint64_t /*uuid*/> descriptor_uuids_by_utid_;
Dtrack_event_parser.h58 UniqueTid ParseThreadDescriptor(protozero::ConstBytes);
68 void ParseChromeThreadDescriptor(UniqueTid, protozero::ConstBytes);
Dprofile_module.cc131 UniqueTid utid = procs->UpdateThread(tid, pid); in ParseStreamingProfilePacket()
230 UniqueTid utid = in ParsePerfSample()
/external/perfetto/src/trace_processor/importers/ftrace/
Dsched_event_tracker.h95 UniqueTid last_utid = std::numeric_limits<UniqueTid>::max();
101 UniqueTid prev_utid,
106 UniqueTid next_utid,
Dbinder_tracker.cc93 UniqueTid src_utid = context_->process_tracker->GetOrCreateThread(tid); in Transaction()
118 UniqueTid utid = context_->process_tracker->GetOrCreateThread( in Transaction()
150 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in TransactionReceived()
203 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in Lock()
210 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in Locked()
225 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in Unlock()
240 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in TransactionAllocBuf()
Drss_stat_tracker.cc72 base::Optional<UniqueTid> utid; in ParseRssStat()
87 base::Optional<UniqueTid> RssStatTracker::FindUtidForMmId(int64_t mm_id, in FindUtidForMmId()
93 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in FindUtidForMmId()
108 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in FindUtidForMmId()
Dsched_event_tracker.cc87 UniqueTid next_utid = context_->process_tracker->UpdateThreadName( in PushSchedSwitch()
108 UniqueTid prev_utid = context_->process_tracker->UpdateThreadName( in PushSchedSwitch()
140 UniqueTid next_utid = context_->process_tracker->UpdateThreadName( in PushSchedSwitchCompact()
149 if (pending_sched->last_utid == std::numeric_limits<UniqueTid>::max()) { in PushSchedSwitchCompact()
169 UniqueTid prev_utid = pending_sched->last_utid; in PushSchedSwitchCompact()
191 UniqueTid prev_utid, in AddRawEventAndStartSlice()
196 UniqueTid next_utid, in AddRawEventAndStartSlice()
286 if (pending_sched->last_utid == std::numeric_limits<UniqueTid>::max()) { in PushSchedWakingCompact()
Drss_stat_tracker.h45 base::Optional<UniqueTid> FindUtidForMmId(int64_t mm_id,
49 std::unordered_map<int64_t, UniqueTid> mm_id_to_utid_;
Dftrace_parser.cc576 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseGenericFtrace()
617 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseTypedFtraceToRaw()
884 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseIonHeapGrowOrShrink()
922 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseIonStat()
958 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseDmaHeapStat()
986 UniqueTid utid = context_->process_tracker->GetOrCreateThread( in ParseSignalGenerate()
999 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseSignalDeliver()
1038 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseOOMScoreAdjUpdate()
1045 UniqueTid utid = context_->process_tracker->GetOrCreateThread( in ParseOOMKill()
1056 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseMmEventRecord()
[all …]
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_parser.cc262 UniqueTid utid = in ParseTracePacket()
276 UniqueTid utid = in ParseTracePacket()
332 UniqueTid utid = in ParseTracePacket()
340 UniqueTid utid = in ParseTracePacket()
361 UniqueTid utid = in ParseTracePacket()
424 UniqueTid utid = in ParseTracePacket()
437 UniqueTid utid = in ParseTracePacket()
450 UniqueTid utid = in ParseTracePacket()
/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/systrace/
Dsystrace_parser.cc133 UniqueTid utid; in ParseSystracePoint()
148 UniqueTid utid; in ParseSystracePoint()
235 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseSystracePoint()
/external/perfetto/src/trace_processor/
Dexport_json.cc679 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in MapUniquePidsAndTids()
705 for (UniqueTid utid = 0; utid < thread_table.row_count(); ++utid) { in ExportThreadNames()
791 base::Optional<UniqueTid> legacy_utid; in ExportSlices()
871 UniqueTid utid = thread_track.utid()[*opt_thread_track_row]; in ExportSlices()
952 UniqueTid utid = thread_track.utid()[*opt_thread_track_row]; in ExportSlices()
1076 UniqueTid utid = thread_tracks.utid()[opt_thread_track_idx.value()]; in CreateFlowEventV1()
1139 UniqueTid utid = static_cast<UniqueTid>(events.utid()[index]); in ConvertLegacyRawEventToJson()
1250 uint64_t AddEventForUtid(UniqueTid utid, in AddEventForUtid()
1360 std::unordered_map<UniqueTid, Sample> current_events_;
1373 UniqueTid utid = static_cast<UniqueTid>(samples.utid()[i]); in ExportCpuProfileSamples()
[all …]
Dexport_json_unittest.cc128 UniqueTid utid = context_.process_tracker->GetOrCreateThread(kThreadID); in TEST_F()
174 UniqueTid utid = context_.process_tracker->GetOrCreateThread(kThreadID); in TEST_F()
424 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
464 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
516 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
564 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
608 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
655 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
702 UniqueTid utid = context_.process_tracker->GetOrCreateThread(0); in TEST_F()
802 UniqueTid utid = context_.process_tracker->GetOrCreateThread(kThreadID); in TEST_F()
[all …]
/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()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cpp114 dd.addEdges(&lt->dd, m->id, cb->Unwind(), cb->UniqueTid()); in MutexBeforeLock()
168 dd.addEdges(&lt->dd, m->id, stk ? stk : cb->Unwind(), cb->UniqueTid()); in MutexAfterLock()

12