/external/perfetto/src/trace_processor/importers/common/ |
D | process_tracker_unittest.cc | 39 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 …]
|
D | BUILD.gn | 30 "process_tracker.cc", 31 "process_tracker.h",
|
D | event_tracker_unittest.cc | 39 context.process_tracker.reset(new ProcessTracker(&context)); in EventTrackerTest()
|
/external/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_parser.cc | 135 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()
|
D | systrace_trace_parser.cc | 147 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()
|
D | systrace_line_parser.cc | 50 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/ |
D | binder_tracker.cc | 93 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()
|
D | rss_stat_tracker.cc | 76 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()
|
D | ftrace_parser.cc | 576 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 …]
|
D | sched_event_tracker_unittest.cc | 40 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()
|
D | sched_event_tracker.cc | 87 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/ |
D | chrome_system_probes_parser.cc | 64 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()
|
D | system_probes_parser.cc | 247 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()
|
D | track_event_tracker.cc | 346 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()
|
D | track_event_parser.cc | 323 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 …]
|
D | profile_module.cc | 123 ProcessTracker* procs = context_->process_tracker.get(); in ParseStreamingProfilePacket() 231 context_->process_tracker->UpdateThread(sample.tid(), sample.pid()); in ParsePerfSample()
|
D | frame_timeline_event_parser.cc | 206 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()
|
D | memory_tracker_snapshot_parser.cc | 184 process_row.upid = context_->process_tracker->GetOrCreateProcess( in EmitRows() 200 fake_process_row.upid = context_->process_tracker->GetOrCreateProcess(0u); in EmitRows()
|
D | android_probes_parser.cc | 172 UniquePid utid = tid ? context_->process_tracker->UpdateThread(tid, pid) : 0; in ParseAndroidLogEvent()
|
/external/perfetto/src/trace_processor/importers/ninja/ |
D | ninja_log_parser.cc | 103 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/ |
D | export_json_unittest.cc | 78 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 …]
|
D | trace_processor_storage_impl.cc | 55 context_.process_tracker.reset(new ProcessTracker(&context_)); in TraceProcessorStorageImpl() 112 context_.process_tracker->NotifyEndOfFile(); in NotifyEndOfFile()
|
D | forwarding_trace_parser.cc | 88 context_->process_tracker->SetPidZeroIgnoredForIdleProcess(); in Parse() 112 context_->process_tracker->SetPidZeroIgnoredForIdleProcess(); in Parse()
|
/external/perfetto/src/trace_processor/types/ |
D | trace_processor_context.h | 76 std::unique_ptr<ProcessTracker> process_tracker; variable
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_trace_parser.cc | 88 ProcessTracker* procs = context_->process_tracker.get(); in ParseTracePacket()
|