Home
last modified time | relevance | path

Searched refs:sequence_state (Results 1 – 15 of 15) sorted by relevance

/external/perfetto/src/tracing/
Dtrack_event_state_tracker.cc39 SequenceState& sequence_state, in ProcessTracePacket() argument
41 UpdateIncrementalState(delegate, sequence_state, packet); in ProcessTracePacket()
51 Track* track = &sequence_state.track; in ProcessTracePacket()
64 category.data = sequence_state.event_categories[category_iid].data(); in ProcessTracePacket()
65 category.size = sequence_state.event_categories[category_iid].size(); in ProcessTracePacket()
76 name.data = sequence_state.event_names[name_iid].data(); in ProcessTracePacket()
77 name.size = sequence_state.event_names[name_iid].size(); in ProcessTracePacket()
109 name.data = sequence_state.event_names[prev_frame.name_iid].data(); in ProcessTracePacket()
110 name.size = sequence_state.event_names[prev_frame.name_iid].size(); in ProcessTracePacket()
118 sequence_state.event_categories[prev_frame.category_iid].data(); in ProcessTracePacket()
[all …]
Dconsole_interceptor.cc301 TrackEventStateTracker::ProcessTracePacket(delegate, tls.sequence_state, in OnTracePacket()
406 tls.sequence_state.debug_annotation_names[annotation.name_iid()].data(); in PrintDebugAnnotationName()
408 tls.sequence_state.debug_annotation_names[annotation.name_iid()].size(); in PrintDebugAnnotationName()
/external/perfetto/src/trace_processor/importers/proto/
Dheap_graph_tracker.cc285 bool HeapGraphTracker::SetPidAndTimestamp(SequenceState* sequence_state, in SetPidAndTimestamp() argument
288 if (sequence_state->current_upid != 0 && in SetPidAndTimestamp()
289 sequence_state->current_upid != upid) { in SetPidAndTimestamp()
293 if (sequence_state->current_ts != 0 && sequence_state->current_ts != ts) { in SetPidAndTimestamp()
297 sequence_state->current_upid = upid; in SetPidAndTimestamp()
298 sequence_state->current_ts = ts; in SetPidAndTimestamp()
303 SequenceState* sequence_state, in GetOrInsertObject() argument
305 auto it = sequence_state->object_id_to_db_id.find(object_id); in GetOrInsertObject()
306 if (it == sequence_state->object_id_to_db_id.end()) { in GetOrInsertObject()
309 {sequence_state->current_upid, in GetOrInsertObject()
[all …]
Dheap_profile_tracker.cc242 SequenceState& sequence_state = sequence_state_[seq_id]; in SetProfilePacketIndex() local
245 if (!sequence_state.prev_index && index != 0) { in SetProfilePacketIndex()
249 if (sequence_state.prev_index && *sequence_state.prev_index + 1 != index) { in SetProfilePacketIndex()
254 if (sequence_state.prev_index) { in SetProfilePacketIndex()
256 *sequence_state.prev_index, index); in SetProfilePacketIndex()
263 sequence_state.prev_index = index; in SetProfilePacketIndex()
271 SequenceState& sequence_state = sequence_state_[seq_id]; in AddAllocation() local
299 auto prev_alloc_it = sequence_state.prev_alloc.find({upid, callstack_id}); in AddAllocation()
300 if (prev_alloc_it == sequence_state.prev_alloc.end()) { in AddAllocation()
301 std::tie(prev_alloc_it, std::ignore) = sequence_state.prev_alloc.emplace( in AddAllocation()
[all …]
Dprofile_module.cc71 ttp.packet_data.sequence_state.get(), in ParsePacket()
76 ParsePerfSample(ttp.timestamp, ttp.packet_data.sequence_state.get(), in ParsePacket()
83 PacketSequenceState* sequence_state, in TokenizeStreamingProfilePacket() argument
99 sequence_state->IncrementAndGetTrackEventTimeNs(/*delta_ns=*/0); in TokenizeStreamingProfilePacket()
108 sequence_state->IncrementAndGetTrackEventTimeNs(*timestamp_it * 1000); in TokenizeStreamingProfilePacket()
111 context_->sorter->PushTracePacket(packet_ts, sequence_state, in TokenizeStreamingProfilePacket()
118 PacketSequenceStateGeneration* sequence_state, in ParseStreamingProfilePacket() argument
126 sequence_state->state()->sequence_stack_profile_tracker(); in ParseStreamingProfilePacket()
127 ProfilePacketInternLookup intern_lookup(sequence_state); in ParseStreamingProfilePacket()
129 uint32_t pid = static_cast<uint32_t>(sequence_state->state()->pid()); in ParseStreamingProfilePacket()
[all …]
Dproto_trace_parser.cc102 ParseTracePacketImpl(ts, ttp, data->sequence_state.get(), packet); in ParseTracePacket()
114 PacketSequenceStateGeneration* sequence_state, in ParseTracePacketImpl() argument
119 ParseDeobfuscationMapping(ts, sequence_state, in ParseTracePacketImpl()
147 ParseProfilePacket(ts, sequence_state, packet.trusted_packet_sequence_id(), in ParseTracePacketImpl()
247 PacketSequenceStateGeneration* sequence_state, in ParseProfilePacket() argument
258 sequence_state->state()->sequence_stack_profile_tracker().AddString( in ParseProfilePacket()
266 sequence_state->state()->sequence_stack_profile_tracker().AddMapping( in ParseProfilePacket()
274 sequence_state->state()->sequence_stack_profile_tracker().AddFrame( in ParseProfilePacket()
282 sequence_state->state()->sequence_stack_profile_tracker().AddCallstack( in ParseProfilePacket()
377 PERFETTO_CHECK(sequence_state); in ParseProfilePacket()
[all …]
Dgpu_event_parser.cc223 PacketSequenceStateGeneration* sequence_state, in GetFullStageName() argument
228 auto* decoder = sequence_state->LookupInternedMessage< in GetFullStageName()
340 PacketSequenceStateGeneration* sequence_state, in ParseGpuRenderStageEvent() argument
366 sequence_state](ArgsTracker::BoundInserter* inserter) { in ParseGpuRenderStageEvent()
369 auto* decoder = sequence_state->LookupInternedMessage< in ParseGpuRenderStageEvent()
401 auto* decoder = sequence_state->LookupInternedMessage< in ParseGpuRenderStageEvent()
468 row.name = GetFullStageName(sequence_state, event); in ParseGpuRenderStageEvent()
589 PacketSequenceStateGeneration* sequence_state, in ParseVulkanMemoryEvent() argument
617 sequence_state, in ParseVulkanMemoryEvent()
650 sequence_state, static_cast<uint64_t>(annotation.key_iid())); in ParseVulkanMemoryEvent()
[all …]
Dgraphics_event_module.cc53 ttp.packet_data.sequence_state.get(), in ParsePacket()
65 parser_.ParseVulkanMemoryEvent(ttp.packet_data.sequence_state.get(), in ParsePacket()
Dheap_graph_tracker.h190 SequenceState* sequence_state,
192 tables::HeapGraphClassTable::Id GetOrInsertType(SequenceState* sequence_state,
196 InternedType* GetSuperClass(SequenceState* sequence_state,
Dprofile_module.h58 PacketSequenceStateGeneration* sequence_state,
Dgpu_event_parser.h80 PacketSequenceStateGeneration* sequence_state,
Dtrack_event_parser.cc72 PacketSequenceStateGeneration& sequence_state) in TrackEventArgsParser() argument
75 sequence_state_(sequence_state) {} in TrackEventArgsParser()
172 sequence_state_(event_data->sequence_state.get()), in EventImporter()
176 defaults_(event_data->sequence_state->GetTrackEventDefaults()) {} in EventImporter()
/external/perfetto/src/trace_processor/
Dtimestamped_trace_piece.h58 std::shared_ptr<PacketSequenceStateGeneration> sequence_state; member
63 std::shared_ptr<PacketSequenceStateGeneration> sequence_state; member
98 std::shared_ptr<PacketSequenceStateGeneration> sequence_state) in TimestampedTracePiece()
99 : packet_data{std::move(tbv), std::move(sequence_state)}, in TimestampedTracePiece()
/external/perfetto/include/perfetto/tracing/
Dconsole_interceptor.h90 TrackEventStateTracker::SequenceState sequence_state; member
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_parser.cc332 ttp.ftrace_event.sequence_state.get(); in ParseFtraceEvent()