Home
last modified time | relevance | path

Searched refs:process_tracker (Results 1 – 25 of 34) sorted by relevance

12

/external/perfetto/src/trace_processor/importers/common/
Dprocess_tracker_unittest.cc39 context.process_tracker.reset(new ProcessTracker(&context)); in ProcessTrackerTest()
48 context.process_tracker->SetProcessMetadata(1, base::nullopt, "test", in TEST_F()
50 auto pair_it = context.process_tracker->UpidsForPidForTesting(1); in TEST_F()
55 auto upid = context.process_tracker->GetOrCreateProcess(123); in TEST_F()
56 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid); in TEST_F()
61 context.process_tracker->StartNewProcess(1000, 0u, 123, kNullStringId); in TEST_F()
62 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid); in TEST_F()
67 context.process_tracker->SetProcessMetadata(1, base::nullopt, "test", in TEST_F()
69 context.process_tracker->SetProcessMetadata(1, base::nullopt, "test", in TEST_F()
71 auto pair_it = context.process_tracker->UpidsForPidForTesting(1); in TEST_F()
[all …]
DBUILD.gn30 "process_tracker.cc",
31 "process_tracker.h",
Devent_tracker_unittest.cc39 context.process_tracker.reset(new ProcessTracker(&context)); in EventTrackerTest()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser.cc135 utid = context_->process_tracker->GetOrCreateThread(pid); in ParseSystracePoint()
137 utid = context_->process_tracker->UpdateThread(pid, point.tgid); in ParseSystracePoint()
152 auto opt_utid = context_->process_tracker->GetThreadOrNull(pid); in ParseSystracePoint()
157 utid = context_->process_tracker->UpdateThread(pid, point.tgid); in ParseSystracePoint()
169 context_->process_tracker->GetOrCreateProcess(point.tgid); in ParseSystracePoint()
216 context_->process_tracker->GetOrCreateProcess(killed_pid); in ParseSystracePoint()
235 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in ParseSystracePoint()
242 context_->process_tracker->GetOrCreateProcess(point.tgid); in ParseSystracePoint()
Dsystrace_trace_parser.cc147 ctx_->process_tracker->SetProcessMetadata(pid.value(), ppid, name, in Parse()
169 ctx_->process_tracker->UpdateThread(tid.value(), tgid.value()); in Parse()
170 ctx_->process_tracker->UpdateThreadNameByUtid( in Parse()
Dsystrace_line_parser.cc50 auto utid = context_->process_tracker->UpdateThreadName( in ParseLine()
57 context_->process_tracker->UpdateThread(line.pid, tgid.value()); in ParseLine()
112 auto wakee_utid = context_->process_tracker->UpdateThreadName( in ParseLine()
230 auto wakee_utid = context_->process_tracker->GetOrCreateThread(*wakee_pid); in ParseLine()
/external/perfetto/src/trace_processor/importers/ftrace/
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.cc76 utid = context_->process_tracker->GetOrCreateThread(pid); in ParseRssStat()
93 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in FindUtidForMmId()
108 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in FindUtidForMmId()
117 if (!context_->process_tracker->IsThreadAlive(it->second)) { in FindUtidForMmId()
Dftrace_parser.cc576 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseGenericFtrace()
617 UniqueTid utid = context_->process_tracker->GetOrCreateThread(tid); in ParseTypedFtraceToRaw()
724 auto utid = context_->process_tracker->UpdateThreadName( in ParseSchedWakeup()
734 auto utid = context_->process_tracker->UpdateThreadName( in ParseSchedWaking()
743 context_->process_tracker->EndThread(timestamp, pid); in ParseSchedProcessFree()
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()
[all …]
Dsched_event_tracker_unittest.cc40 context.process_tracker.reset(new ProcessTracker(&context)); in SchedEventTrackerTest()
128 context.process_tracker->SetProcessMetadata(2, base::nullopt, "test", in TEST_F()
130 context.process_tracker->UpdateThread(4, 2); in TEST_F()
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()
316 auto wakee_utid = context_->process_tracker->GetOrCreateThread(wakee_pid); in PushSchedWakingCompact()
/external/perfetto/src/trace_processor/importers/proto/
Dchrome_system_probes_parser.cc64 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); in ParseProcessStats()
65 context_->process_tracker->AddArgsTo(upid).AddArg( in ParseProcessStats()
75 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); in ParseProcessStats()
Dsystem_probes_parser.cc247 context_->process_tracker->SetProcessMetadata( in ParseProcessTree()
249 context_->process_tracker->UpdateThread(pid, kKthreaddPid); in ParseProcessTree()
263 UniquePid upid = context_->process_tracker->SetProcessMetadata( in ParseProcessTree()
266 context_->process_tracker->SetProcessUid( in ParseProcessTree()
276 context_->process_tracker->UpdateThread(tid, tgid); in ParseProcessTree()
280 context_->process_tracker->UpdateThreadName( in ParseProcessTree()
346 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); in ParseProcessStats()
360 UniqueTid utid = context_->process_tracker->UpdateThread( in ParseThreadStats()
Dtrack_event_tracker.cc346 UniqueTid utid = context_->process_tracker->UpdateThread(*reservation.tid, in ResolveDescriptorTrackImpl()
363 utid = context_->process_tracker->StartNewThread(base::nullopt, in ResolveDescriptorTrackImpl()
367 PERFETTO_CHECK(context_->process_tracker->UpdateThread( in ResolveDescriptorTrackImpl()
378 context_->process_tracker->GetOrCreateProcess(*reservation.pid); in ResolveDescriptorTrackImpl()
394 upid = context_->process_tracker->StartNewProcess( in ResolveDescriptorTrackImpl()
Dtrack_event_parser.cc323 ProcessTracker* procs = context_->process_tracker.get(); in ParseTrackAssociation()
948 ProcessTracker* procs = context_->process_tracker.get(); in ParseMetadataEvent()
1584 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in ParseProcessDescriptor()
1588 context_->process_tracker->SetProcessNameIfUnset( in ParseProcessDescriptor()
1592 context_->process_tracker->SetStartTsIfUnset(upid, in ParseProcessDescriptor()
1600 context_->process_tracker->SetProcessNameIfUnset(upid, name_id); in ParseProcessDescriptor()
1614 context_->process_tracker->SetProcessNameIfUnset(upid, name_id); in ParseChromeProcessDescriptor()
1617 context_->process_tracker->AddArgsTo(upid); in ParseChromeProcessDescriptor()
1632 UniqueTid utid = context_->process_tracker->UpdateThread( in ParseThreadDescriptor()
1642 context_->process_tracker->UpdateThreadNameByUtid( in ParseThreadDescriptor()
[all …]
Dprofile_module.cc123 ProcessTracker* procs = context_->process_tracker.get(); in ParseStreamingProfilePacket()
231 context_->process_tracker->UpdateThread(sample.tid(), sample.pid()); in ParsePerfSample()
Dframe_timeline_event_parser.cc206 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in ParseExpectedDisplayFrameStart()
255 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in ParseActualDisplayFrameStart()
359 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in ParseExpectedSurfaceFrameStart()
439 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in ParseActualSurfaceFrameStart()
Dmemory_tracker_snapshot_parser.cc184 process_row.upid = context_->process_tracker->GetOrCreateProcess( in EmitRows()
200 fake_process_row.upid = context_->process_tracker->GetOrCreateProcess(0u); in EmitRows()
Dandroid_probes_parser.cc172 UniquePid utid = tid ? context_->process_tracker->UpdateThread(tid, pid) : 0; in ParseAndroidLogEvent()
/external/perfetto/src/trace_processor/importers/ninja/
Dninja_log_parser.cc103 ctx_->process_tracker->SetProcessNameIfUnset( in Parse()
104 ctx_->process_tracker->GetOrCreateProcess(cur_build_id_), name_id); in Parse()
173 auto utid = ctx_->process_tracker->UpdateThread(worker_id, job.build_id); in NotifyEndOfFile()
174 ctx_->process_tracker->UpdateThreadNameByUtid(utid, name_id, in NotifyEndOfFile()
/external/perfetto/src/trace_processor/
Dexport_json_unittest.cc78 context_.process_tracker.reset(new ProcessTracker(&context_)); in ExportJsonTest()
128 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()
[all …]
Dtrace_processor_storage_impl.cc55 context_.process_tracker.reset(new ProcessTracker(&context_)); in TraceProcessorStorageImpl()
112 context_.process_tracker->NotifyEndOfFile(); in NotifyEndOfFile()
Dforwarding_trace_parser.cc88 context_->process_tracker->SetPidZeroIgnoredForIdleProcess(); in Parse()
112 context_->process_tracker->SetPidZeroIgnoredForIdleProcess(); in Parse()
/external/perfetto/src/trace_processor/types/
Dtrace_processor_context.h76 std::unique_ptr<ProcessTracker> process_tracker; variable
/external/perfetto/src/trace_processor/importers/json/
Djson_trace_parser.cc88 ProcessTracker* procs = context_->process_tracker.get(); in ParseTracePacket()

12