/external/perfetto/src/trace_processor/importers/common/ |
D | process_tracker.cc | 53 auto* thread_table = context_->storage->mutable_thread_table(); in StartNewThread() local 54 UniqueTid new_utid = thread_table->Insert(row).row; in StartNewThread() 62 auto* thread_table = context_->storage->mutable_thread_table(); in EndThread() local 66 thread_table->mutable_end_ts()->Set(utid, timestamp); in EndThread() 73 auto opt_upid = thread_table->upid()[utid]; in EndThread() 77 if (process_table->pid()[*opt_upid] == thread_table->tid()[utid]) { in EndThread() 120 auto* thread_table = context_->storage->mutable_thread_table(); in UpdateThreadNameByUtid() local 122 thread_table->mutable_name()->Set(utid, thread_name_id); in UpdateThreadNameByUtid() 192 auto* thread_table = context_->storage->mutable_thread_table(); in UpdateThread() local 199 PERFETTO_DCHECK(thread_table->tid()[utid] == tid); in UpdateThread() [all …]
|
D | process_tracker_unittest.cc | 99 ASSERT_EQ(context.storage->thread_table().row_count(), 3u); in TEST_F() 103 ASSERT_EQ(context.storage->thread_table().upid()[1].value(), 1u); in TEST_F() 124 ASSERT_EQ(context.storage->thread_table().row_count(), 5u); in TEST_F() 141 ASSERT_EQ(context.storage->thread_table().row_count(), 2u); in TEST_F() 142 ASSERT_EQ(context.storage->thread_table().name()[1], name1); in TEST_F() 147 ASSERT_EQ(context.storage->thread_table().row_count(), 2u); in TEST_F() 148 ASSERT_EQ(context.storage->thread_table().name()[1], name2); in TEST_F() 153 ASSERT_EQ(context.storage->thread_table().row_count(), 2u); in TEST_F() 154 ASSERT_EQ(context.storage->thread_table().name()[1], name2); in TEST_F()
|
D | event_tracker.cc | 108 const auto& thread_table = context_->storage->thread_table(); in FlushPendingEvents() local 113 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents() 124 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents()
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | sched_event_tracker_unittest.cc | 70 ASSERT_EQ(context.storage->thread_table().start_ts()[1], base::nullopt); in TEST_F() 73 context.storage->GetString(context.storage->thread_table().name()[1]); in TEST_F() 105 ASSERT_EQ(context.storage->thread_table().start_ts()[1], base::nullopt); in TEST_F() 132 ASSERT_EQ(context.storage->thread_table().tid()[1], 4u); in TEST_F() 133 ASSERT_EQ(context.storage->thread_table().upid()[1].value(), 1u); in TEST_F()
|
D | binder_tracker.cc | 117 const auto& thread_table = context_->storage->thread_table(); in Transaction() local 120 StringId dest_thread_name = thread_table.name()[utid]; in Transaction() 151 const auto& thread_table = context_->storage->thread_table(); in TransactionReceived() local 152 StringId thread_name = thread_table.name()[utid]; in TransactionReceived()
|
D | sched_event_tracker.cc | 175 StringId prev_comm_id = context_->storage->thread_table().name()[prev_utid]; in PushSchedSwitchCompact()
|
D | ftrace_parser.cc | 1376 UniquePid upid = context_->storage->thread_table().upid()[utid].value_or(0); in ParseGpuMemTotal()
|
/external/perfetto/src/trace_processor/ |
D | export_json.cc | 678 const auto& thread_table = storage_->thread_table(); in MapUniquePidsAndTids() local 679 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in MapUniquePidsAndTids() 681 base::Optional<UniquePid> upid = thread_table.upid()[utid]; in MapUniquePidsAndTids() 688 uint32_t exported_tid = thread_table.tid()[utid]; in MapUniquePidsAndTids() 704 const auto& thread_table = storage_->thread_table(); in ExportThreadNames() local 705 for (UniqueTid utid = 0; utid < thread_table.row_count(); ++utid) { in ExportThreadNames() 706 auto opt_name = thread_table.name()[utid]; in ExportThreadNames() 1802 const auto& thread_table = storage_->thread_table(); in IsValidPidOrTid() local 1803 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in IsValidPidOrTid() 1804 if (thread_table.tid()[utid] == pid_or_tid) in IsValidPidOrTid()
|
D | trace_processor_impl.cc | 767 storage->thread_table()))); in TraceProcessorImpl() 775 RegisterDbTable(storage->thread_table()); in TraceProcessorImpl()
|
D | export_json_unittest.cc | 848 ASSERT_EQ(upid1, *context_.storage->thread_table().upid()[utid1a]); in TEST_F() 849 ASSERT_EQ(upid1, *context_.storage->thread_table().upid()[utid1b]); in TEST_F() 850 ASSERT_EQ(upid1, *context_.storage->thread_table().upid()[utid1c]); in TEST_F() 851 ASSERT_EQ(upid2, *context_.storage->thread_table().upid()[utid2a]); in TEST_F() 852 ASSERT_EQ(upid2, *context_.storage->thread_table().upid()[utid2b]); in TEST_F()
|
/external/perfetto/src/trace_processor/importers/fuchsia/ |
D | fuchsia_trace_tokenizer.cc | 269 current_provider_->thread_table[index] = tinfo; in ParseRecord() 305 current_provider_->thread_table[thread_ref]); in ParseRecord() 486 outgoing_thread = current_provider_->thread_table[outgoing_thread_ref]; in ParseRecord() 496 incoming_thread = current_provider_->thread_table[incoming_thread_ref]; in ParseRecord()
|
D | fuchsia_trace_tokenizer.h | 46 std::unordered_map<uint64_t, fuchsia_trace_utils::ThreadInfo> thread_table; member
|
/external/perfetto/src/trace_processor/sqlite/ |
D | sqlite_raw_table.cc | 590 uint32_t tid = storage_->thread_table().tid()[utid]; in SerializePrefix() 593 auto opt_upid = storage_->thread_table().upid()[utid]; in SerializePrefix() 597 auto name = storage_->GetString(storage_->thread_table().name()[utid]); in SerializePrefix()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | track_event_parser.cc | 356 upid_ = storage_->thread_table().upid()[*utid_]; in ParseTrackAssociation() 368 if (storage_->thread_table().upid()[utid_candidate] == upid_) in ParseTrackAssociation() 419 upid_ = storage_->thread_table().upid()[*utid_]; in ParseTrackAssociation()
|
D | gpu_event_parser.cc | 754 UniquePid upid = context_->storage->thread_table().upid()[utid].value_or(0); in ParseGpuMemTotalEvent()
|
D | proto_trace_parser_unittest.cc | 422 ASSERT_EQ(storage_->thread_table().tid()[raw.utid()[raw.row_count() - 1]], in TEST_F()
|
/external/perfetto/src/trace_processor/storage/ |
D | trace_storage.h | 304 const tables::ThreadTable& thread_table() const { return thread_table_; } in thread_table() function
|