Home
last modified time | relevance | path

Searched refs:UniquePid (Results 1 – 25 of 26) sorted by relevance

12

/external/perfetto/src/trace_processor/importers/common/
Dprocess_tracker.h37 std::multimap<uint32_t, UniquePid>::const_iterator;
84 UniquePid StartNewProcess(base::Optional<int64_t> timestamp,
92 virtual UniquePid SetProcessMetadata(uint32_t pid,
97 void SetProcessUid(UniquePid upid, uint32_t uid);
101 virtual void SetProcessNameIfUnset(UniquePid upid, StringId process_name_id);
110 virtual UniquePid GetOrCreateProcess(uint32_t pid);
146 void ResolvePendingAssociations(UniqueTid, UniquePid);
150 void AssociateThreadToProcess(UniqueTid, UniquePid);
160 std::map<uint32_t /* pid (aka tgid) */, UniquePid> pids_;
171 std::vector<std::pair<UniqueTid, UniquePid>> pending_parent_assocs_;
Dtrack_tracker.h35 TrackId InternProcessTrack(UniquePid upid);
52 UniquePid upid,
56 TrackId InternPerfStackTrack(UniquePid upid);
60 TrackId InternLegacyChromeProcessInstantTrack(UniquePid upid);
155 TrackId InternProcessCounterTrack(StringId name, UniquePid upid);
210 UniquePid upid;
257 std::map<UniquePid, TrackId> process_tracks_;
262 std::map<UniquePid, TrackId> chrome_process_instant_tracks_;
267 std::map<UniquePid, TrackId> perf_stack_tracks_;
272 std::map<std::pair<StringId, UniquePid>, TrackId> upid_counter_tracks_;
[all …]
Dprocess_tracker.cc121 UniquePid current_upid = *opt_current_upid; in IsThreadAlive()
192 UniquePid ProcessTracker::StartNewProcess(base::Optional<int64_t> timestamp, in StartNewProcess()
208 UniquePid upid = GetOrCreateProcess(pid); in StartNewProcess()
233 UniquePid ProcessTracker::SetProcessMetadata(uint32_t pid, in SetProcessMetadata()
238 base::Optional<UniquePid> pupid; in SetProcessMetadata()
243 UniquePid upid = GetOrCreateProcess(pid); in SetProcessMetadata()
254 void ProcessTracker::SetProcessUid(UniquePid upid, uint32_t uid) { in SetProcessUid()
263 void ProcessTracker::SetProcessNameIfUnset(UniquePid upid, in SetProcessNameIfUnset()
284 UniquePid ProcessTracker::GetOrCreateProcess(uint32_t pid) { in GetOrCreateProcess()
285 UniquePid upid; in GetOrCreateProcess()
[all …]
Devent_tracker.cc100 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents()
111 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents()
Dprocess_tracker_unittest.cc106 UniquePid p1 = context.process_tracker->StartNewProcess( in TEST_F()
110 UniquePid p2 = context.process_tracker->StartNewProcess( in TEST_F()
Dtrack_tracker.cc56 TrackId TrackTracker::InternProcessTrack(UniquePid upid) { in InternProcessTrack()
132 UniquePid upid, in InternAndroidAsyncTrack()
152 TrackId TrackTracker::InternPerfStackTrack(UniquePid upid) { in InternPerfStackTrack()
165 TrackId TrackTracker::InternLegacyChromeProcessInstantTrack(UniquePid upid) { in InternLegacyChromeProcessInstantTrack()
419 UniquePid upid = in ResolveDescriptorTrack()
598 TrackId TrackTracker::InternProcessCounterTrack(StringId name, UniquePid upid) { in InternProcessCounterTrack()
/external/perfetto/src/trace_processor/importers/proto/
Dheap_profile_tracker.h31 BuildNativeFlamegraph(TraceStorage* storage, UniquePid upid, int64_t timestamp);
82 std::unordered_map<std::pair<UniquePid, CallsiteId>,
85 std::unordered_map<std::pair<UniquePid, CallsiteId>,
99 std::map<std::pair<UniquePid, StackProfileTracker::SourceCallstackId>,
Dheap_graph_tracker.h101 void AddRoot(uint32_t seq_id, UniquePid upid, int64_t ts, SourceRoot root);
102 void AddObject(uint32_t seq_id, UniquePid upid, int64_t ts, SourceObject obj);
146 const UniquePid current_upid);
161 UniquePid current_upid = 0;
179 bool SetPidAndTimestamp(SequenceState* seq, UniquePid upid, int64_t ts);
192 std::map<std::pair<UniquePid, int64_t>,
Dtrack_event_parser.h52 UniquePid ParseProcessDescriptor(protozero::ConstBytes);
62 void ParseChromeProcessDescriptor(UniquePid, protozero::ConstBytes);
Dgpu_event_parser.h67 void UpdateVulkanMemoryAllocationCounters(UniquePid,
Dperf_sample_tracker.cc45 UniquePid upid = in AddStackToSliceTrack()
Dheap_graph_tracker.cc260 UniquePid upid, in SetPidAndTimestamp()
314 UniquePid upid, in AddObject()
365 UniquePid upid, in AddRoot()
617 const UniquePid current_upid) { in BuildFlamegraph()
Dheap_profile_tracker.cc83 UniquePid upid, in BuildNativeFlamegraph()
266 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in AddAllocation()
Dheap_graph_tracker_unittest.cc50 constexpr UniquePid kPid = 1; in TEST()
Dsystem_probes_parser.cc221 UniquePid upid = in ParseProcessTree()
294 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); in ParseProcessStats()
Dtrack_event_parser.cc1258 UniquePid upid = ParseProcessDescriptor(decoder.process()); in ParseTrackDescriptor()
1273 UniquePid TrackEventParser::ParseProcessDescriptor( in ParseProcessDescriptor()
1276 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in ParseProcessDescriptor()
1298 UniquePid upid, in ParseChromeProcessDescriptor()
Dandroid_probes_parser.cc181 UniquePid utid = tid ? context_->process_tracker->UpdateThread(tid, pid) : 0; in ParseAndroidLogEvent()
Dheap_graph_module.cc120 UniquePid upid = context_->process_tracker->GetOrCreateProcess( in ParseHeapGraph()
Dgpu_event_parser.cc404 UniquePid upid, in UpdateVulkanMemoryAllocationCounters()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser.cc158 UniquePid upid = in ParseSystracePoint()
180 UniquePid killed_upid = in ParseSystracePoint()
196 UniquePid upid = in ParseSystracePoint()
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_flamegraph_generator.h34 UniquePid upid;
Dexperimental_flamegraph_generator.cc64 UniquePid upid = static_cast<UniquePid>(upid_it->value.AsLong()); in GetFlamegraphInputValues()
/external/perfetto/src/trace_processor/
Dexport_json.cc663 for (UniquePid upid = 0; upid < process_table.row_count(); upid++) { in MapUniquePidsAndTids()
677 base::Optional<UniquePid> upid = thread_table.upid()[utid]; in MapUniquePidsAndTids()
715 for (UniquePid upid = 0; upid < process_table.row_count(); ++upid) { in ExportProcessNames()
1277 uint32_t UpidToPid(UniquePid upid) { in UpidToPid()
1299 for (UniquePid upid = 0; upid < process_table.row_count(); upid++) { in IsValidPidOrTid()
1324 std::map<UniquePid, uint32_t> upids_to_exported_pids_;
1325 std::map<uint32_t, UniquePid> exported_pids_to_upids_;
Dexport_json_unittest.cc932 UniquePid upid = context_.process_tracker->GetOrCreateProcess(kProcessID); in TEST_F()
1060 UniquePid upid = context_.process_tracker->GetOrCreateProcess(kProcessID); in TEST_F()
1116 UniquePid upid = context_.process_tracker->GetOrCreateProcess(kProcessID); in TEST_F()
1161 UniquePid upid = context_.process_tracker->GetOrCreateProcess(kProcessID); in TEST_F()
1223 UniquePid upid = context_.process_tracker->GetOrCreateProcess(kProcessID); in TEST_F()
1348 UniquePid upid = context_.process_tracker->GetOrCreateProcess(kProcessID); in TEST_F()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h52 using UniquePid = uint32_t; variable

12