Home
last modified time | relevance | path

Searched refs:TraceBlobView (Results 1 – 25 of 36) sorted by relevance

12

/external/perfetto/src/trace_processor/importers/common/
Dtrace_blob_view.h36 class TraceBlobView {
38 TraceBlobView(std::unique_ptr<uint8_t[]> buffer, size_t offset, size_t length) in TraceBlobView() function
47 TraceBlobView(TraceBlobView&&) noexcept = default;
48 TraceBlobView& operator=(TraceBlobView&&) = default;
51 TraceBlobView(const TraceBlobView&) = delete;
52 TraceBlobView& operator=(const TraceBlobView&) = delete;
54 TraceBlobView slice(size_t offset, size_t length) const { in slice()
56 return TraceBlobView(shbuf_, offset, length); in slice()
59 bool operator==(const TraceBlobView& rhs) const {
63 bool operator!=(const TraceBlobView& rhs) const { return !(*this == rhs); }
[all …]
/external/perfetto/src/trace_processor/
Dtrace_sorter_unittest.cc61 TraceBlobView& tbv = ttp.packet_data.packet; in ParseTracePacket()
92 TraceBlobView test_buffer_;
97 TraceBlobView view = test_buffer_.slice(0, 1); in TEST_F()
107 TraceBlobView view = test_buffer_.slice(0, 1); in TEST_F()
116 TraceBlobView view_1 = test_buffer_.slice(0, 1); in TEST_F()
117 TraceBlobView view_2 = test_buffer_.slice(0, 2); in TEST_F()
118 TraceBlobView view_3 = test_buffer_.slice(0, 3); in TEST_F()
119 TraceBlobView view_4 = test_buffer_.slice(0, 4); in TEST_F()
143 TraceBlobView view_1 = test_buffer_.slice(0, 1); in TEST_F()
144 TraceBlobView view_2 = test_buffer_.slice(0, 2); in TEST_F()
[all …]
Dtimestamped_trace_piece.h57 TraceBlobView packet;
62 TraceBlobView event;
67 TrackEventData(TraceBlobView pv, in TrackEventData()
97 TraceBlobView tbv, in TimestampedTracePiece()
Dtrace_sorter.h72 TraceBlobView packet) { in PushTracePacket()
108 TraceBlobView event, in PushFtraceEvent()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_tokenizer.h40 template <typename Callback = util::Status(TraceBlobView)>
114 template <typename Callback = util::Status(TraceBlobView)>
122 TraceBlobView whole_buf(std::move(owned_buf), data_off, size); in ParseInternal()
128 TraceBlobView sliced = whole_buf.slice(field_offset, packet.size); in ParseInternal()
141 template <typename Callback = util::Status(TraceBlobView)>
142 util::Status ParsePacket(TraceBlobView packet, Callback callback) { in ParsePacket()
153 TraceBlobView compressed_packets = packet.slice(field_off, field.size); in ParsePacket()
154 TraceBlobView packets(nullptr, 0, 0); in ParsePacket()
172 TraceBlobView sliced = in ParsePacket()
181 util::Status Decompress(TraceBlobView input, TraceBlobView* output);
Dpacket_sequence_state.h49 InternedMessageView(TraceBlobView msg) : message_(std::move(msg)) {} in InternedMessageView()
109 TraceBlobView submessage = message_.slice(offset, field.size); in GetOrCreateSubmessageView()
117 const TraceBlobView& message() { return message_; } in message()
124 TraceBlobView message_;
206 TraceBlobView defaults) in PacketSequenceStateGeneration()
212 void InternMessage(uint32_t field_id, TraceBlobView message);
214 void SetTracePacketDefaults(TraceBlobView defaults) { in SetTracePacketDefaults()
253 void InternMessage(uint32_t field_id, TraceBlobView message) { in InternMessage()
260 void UpdateTracePacketDefaults(TraceBlobView defaults) { in UpdateTracePacketDefaults()
Dproto_trace_tokenizer.cc26 util::Status ProtoTraceTokenizer::Decompress(TraceBlobView input, in Decompress()
27 TraceBlobView* output) { in Decompress()
54 *output = TraceBlobView(std::move(out_data), 0, data.size()); in Decompress()
Dproto_trace_reader.h66 util::Status ParsePacket(TraceBlobView);
73 TraceBlobView trace_packet_defaults);
75 TraceBlobView interned_data);
Dprofile_module.h38 TraceBlobView* packet,
50 TraceBlobView* packet,
Dtrack_event_tokenizer.h41 class TraceBlobView; variable
58 TraceBlobView* packet,
Dproto_trace_reader.cc62 [this](TraceBlobView packet) { return ParsePacket(std::move(packet)); }); in Parse()
75 util::Status ProtoTraceReader::ParsePacket(TraceBlobView packet) { in ParsePacket()
312 TraceBlobView trace_packet_defaults) { in ParseTracePacketDefaults()
327 TraceBlobView interned_data) { in ParseInternedData()
Dandroid_probes_module.cc87 TraceBlobView* packet, in TokenizePacket()
154 actual_ts, state, TraceBlobView(std::move(buffer), 0, vec.size())); in TokenizePacket()
Dsystem_probes_module.h34 TraceBlobView* packet,
Dproto_importer_module.cc29 TraceBlobView* /*packet*/, in TokenizePacket() argument
Dandroid_probes_module.h36 TraceBlobView* packet,
Dtrack_event_module.h37 TraceBlobView* packet,
Dmetadata_module.h37 TraceBlobView* packet,
Dprofile_module.cc52 TraceBlobView* packet, in TokenizePacket()
84 TraceBlobView* packet, in TokenizeStreamingProfilePacket()
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_record.h35 FuchsiaRecord(TraceBlobView record_view) in FuchsiaRecord()
60 TraceBlobView* record_view() { return &record_view_; } in record_view()
63 TraceBlobView record_view_;
Dfuchsia_trace_tokenizer.cc138 TraceBlobView leftover_record(std::move(buf), 0, record_len_bytes); in Parse()
149 TraceBlobView full_view(std::move(data), byte_offset, size); in Parse()
167 TraceBlobView record = in Parse()
185 void FuchsiaTraceTokenizer::ParseRecord(TraceBlobView tbv) { in ParseRecord()
Dfuchsia_trace_tokenizer.h56 void ParseRecord(TraceBlobView);
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_tokenizer.h35 void TokenizeFtraceBundle(TraceBlobView bundle, PacketSequenceState*);
39 TraceBlobView event,
Dftrace_module_impl.h39 TraceBlobView* packet,
Dftrace_tokenizer.cc37 void FtraceTokenizer::TokenizeFtraceBundle(TraceBlobView bundle, in TokenizeFtraceBundle()
69 TraceBlobView event, in TokenizeFtraceEvent()
/external/perfetto/src/trace_processor/util/
DBUILD.gn83 # TODO(altimin): Move InternedMessageView and TraceBlobView here and remove
108 # TODO(altimin): Move InternedMessageView and TraceBlobView here and remove

12