Home
last modified time | relevance | path

Searched refs:process_table (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/src/trace_processor/importers/common/
Dprocess_tracker.cc48 auto* process_table = context_->storage->mutable_process_table(); in EndThread() local
62 if (process_table->pid()[*opt_upid] == thread_table->tid()[utid]) { in EndThread()
63 process_table->mutable_end_ts()->Set(*opt_upid, timestamp); in EndThread()
210 auto* process_table = context_->storage->mutable_process_table(); in StartNewProcess() local
213 PERFETTO_DCHECK(process_table->name()[upid].is_null()); in StartNewProcess()
214 PERFETTO_DCHECK(!process_table->start_ts()[upid].has_value()); in StartNewProcess()
217 process_table->mutable_start_ts()->Set(upid, *timestamp); in StartNewProcess()
219 process_table->mutable_name()->Set(upid, main_thread_name); in StartNewProcess()
225 process_table->mutable_parent_upid()->Set(upid, *opt_parent_upid); in StartNewProcess()
245 auto* process_table = context_->storage->mutable_process_table(); in SetProcessMetadata() local
[all …]
Dprocess_tracker_unittest.cc64 ASSERT_EQ(context.storage->process_table().start_ts()[upid], 1000); in TEST_F()
87 context.storage->GetString(context.storage->process_table().name()[1]); in TEST_F()
102 ASSERT_EQ(context.storage->process_table().row_count(), 2u); in TEST_F()
118 ASSERT_EQ(context.storage->process_table().row_count(), 3u); in TEST_F()
/external/perfetto/src/trace_processor/
Dexport_json.cc662 const auto& process_table = storage_->process_table(); in MapUniquePidsAndTids() local
663 for (UniquePid upid = 0; upid < process_table.row_count(); upid++) { in MapUniquePidsAndTids()
664 uint32_t exported_pid = process_table.pid()[upid]; in MapUniquePidsAndTids()
714 const auto& process_table = storage_->process_table(); in ExportProcessNames() local
715 for (UniquePid upid = 0; upid < process_table.row_count(); ++upid) { in ExportProcessNames()
716 auto opt_name = process_table.name()[upid]; in ExportProcessNames()
1298 const auto& process_table = storage_->process_table(); in IsValidPidOrTid() local
1299 for (UniquePid upid = 0; upid < process_table.row_count(); upid++) { in IsValidPidOrTid()
1300 if (process_table.pid()[upid] == pid_or_tid) in IsValidPidOrTid()
Dtrace_processor_impl.cc578 RegisterDbTable(storage->process_table()); in TraceProcessorImpl()
/external/perfetto/src/trace_processor/importers/ftrace/
Dsched_event_tracker_unittest.cc133 ASSERT_EQ(context.storage->process_table().pid()[1], 2u); in TEST_F()
134 ASSERT_EQ(context.storage->process_table().start_ts()[1], base::nullopt); in TEST_F()
/external/perfetto/src/trace_processor/sqlite/
Dsqlite_raw_table.cc517 tgid = storage_->process_table().pid()[*opt_upid]; in SerializePrefix()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h358 const tables::ProcessTable& process_table() const { return process_table_; } in process_table() function