/external/perfetto/src/trace_processor/importers/common/ |
D | trace_blob_view.h | 36 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/ |
D | trace_sorter_unittest.cc | 61 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 …]
|
D | timestamped_trace_piece.h | 57 TraceBlobView packet; 62 TraceBlobView event; 67 TrackEventData(TraceBlobView pv, in TrackEventData() 97 TraceBlobView tbv, in TimestampedTracePiece()
|
D | trace_sorter.h | 72 TraceBlobView packet) { in PushTracePacket() 108 TraceBlobView event, in PushFtraceEvent()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | proto_trace_tokenizer.h | 40 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);
|
D | packet_sequence_state.h | 49 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()
|
D | proto_trace_tokenizer.cc | 26 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()
|
D | proto_trace_reader.h | 66 util::Status ParsePacket(TraceBlobView); 73 TraceBlobView trace_packet_defaults); 75 TraceBlobView interned_data);
|
D | profile_module.h | 38 TraceBlobView* packet, 50 TraceBlobView* packet,
|
D | track_event_tokenizer.h | 41 class TraceBlobView; variable 58 TraceBlobView* packet,
|
D | proto_trace_reader.cc | 62 [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()
|
D | android_probes_module.cc | 87 TraceBlobView* packet, in TokenizePacket() 154 actual_ts, state, TraceBlobView(std::move(buffer), 0, vec.size())); in TokenizePacket()
|
D | system_probes_module.h | 34 TraceBlobView* packet,
|
D | proto_importer_module.cc | 29 TraceBlobView* /*packet*/, in TokenizePacket() argument
|
D | android_probes_module.h | 36 TraceBlobView* packet,
|
D | track_event_module.h | 37 TraceBlobView* packet,
|
D | metadata_module.h | 37 TraceBlobView* packet,
|
D | profile_module.cc | 52 TraceBlobView* packet, in TokenizePacket() 84 TraceBlobView* packet, in TokenizeStreamingProfilePacket()
|
/external/perfetto/src/trace_processor/importers/fuchsia/ |
D | fuchsia_record.h | 35 FuchsiaRecord(TraceBlobView record_view) in FuchsiaRecord() 60 TraceBlobView* record_view() { return &record_view_; } in record_view() 63 TraceBlobView record_view_;
|
D | fuchsia_trace_tokenizer.cc | 138 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()
|
D | fuchsia_trace_tokenizer.h | 56 void ParseRecord(TraceBlobView);
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | ftrace_tokenizer.h | 35 void TokenizeFtraceBundle(TraceBlobView bundle, PacketSequenceState*); 39 TraceBlobView event,
|
D | ftrace_module_impl.h | 39 TraceBlobView* packet,
|
D | ftrace_tokenizer.cc | 37 void FtraceTokenizer::TokenizeFtraceBundle(TraceBlobView bundle, in TokenizeFtraceBundle() 69 TraceBlobView event, in TokenizeFtraceEvent()
|
/external/perfetto/src/trace_processor/util/ |
D | BUILD.gn | 83 # TODO(altimin): Move InternedMessageView and TraceBlobView here and remove 108 # TODO(altimin): Move InternedMessageView and TraceBlobView here and remove
|