/external/perfetto/src/tracing/core/ |
D | trace_packet.cc | 25 TracePacket::TracePacket() = default; 26 TracePacket::~TracePacket() = default; 28 TracePacket::TracePacket(TracePacket&& other) noexcept { in TracePacket() function in perfetto::TracePacket 32 TracePacket& TracePacket::operator=(TracePacket&& other) { in operator =() 40 void TracePacket::AddSlice(Slice slice) { in AddSlice() 45 void TracePacket::AddSlice(const void* start, size_t size) { in AddSlice() 50 std::tuple<char*, size_t> TracePacket::GetProtoPreamble() { in GetProtoPreamble() 66 std::unique_ptr<TracePacket::ZeroCopyInputStream> 67 TracePacket::CreateSlicedInputStream() const { in CreateSlicedInputStream()
|
D | trace_packet_unittest.cc | 30 static_assert(TracePacket::kPacketFieldNumber == 34 static_assert(protos::TracePacket::kTrustedUidFieldNumber == 38 static_assert(protos::TracePacket::kTraceConfigFieldNumber == 42 static_assert(protos::TracePacket::kTraceStatsFieldNumber == 46 static_assert(protos::TracePacket::kClockSnapshotFieldNumber == 51 protos::TracePacket proto; in TEST() 54 TracePacket tp; in TEST() 62 protos::TracePacket decoded_packet; in TEST() 68 protos::TracePacket proto; in TEST() 72 TracePacket tp; in TEST() [all …]
|
D | packet_stream_validator_unittest.cc | 35 protos::TracePacket proto; in TEST() 45 protos::TracePacket proto; in TEST() 62 protos::TracePacket proto; in TEST() 72 protos::TracePacket proto; in TEST() 82 protos::TracePacket proto; in TEST() 92 protos::TracePacket proto; in TEST() 110 protos::TracePacket proto; in TEST() 130 protos::TracePacket proto; in TEST() 152 protos::TracePacket proto; in TEST() 164 protos::TracePacket proto; in TEST()
|
D | trace_writer_for_testing.cc | 34 cur_packet_.reset(new protos::pbzero::TracePacket()); in TraceWriterForTesting() 48 std::vector<protos::TracePacket> TraceWriterForTesting::GetAllTracePackets() { in GetAllTracePackets() 56 std::vector<protos::TracePacket> ret; in GetAllTracePackets() 63 std::unique_ptr<protos::TracePacket> TraceWriterForTesting::ParseProto() { in ParseProto() 69 std::unique_ptr<protos::TracePacket>(new protos::TracePacket(trace[0])); in ParseProto()
|
D | tracing_service_impl_unittest.cc | 64 const std::vector<protos::TracePacket>& packets, in HasTriggerModeInternal() 69 &protos::TracePacket::trace_config, in HasTriggerModeInternal() 735 &protos::TracePacket::trace_config, in TEST_F() 744 &protos::TracePacket::trigger, in TEST_F() 749 Property(&protos::TracePacket::trusted_packet_sequence_id, in TEST_F() 812 &protos::TracePacket::trace_config, in TEST_F() 822 &protos::TracePacket::trigger, in TEST_F() 827 Property(&protos::TracePacket::trusted_packet_sequence_id, in TEST_F() 866 AllOf(Property(&protos::TracePacket::trigger, in TEST_F() 870 Property(&protos::TracePacket::trusted_packet_sequence_id, in TEST_F() [all …]
|
D | trace_writer_for_testing.h | 41 std::vector<protos::TracePacket> GetAllTracePackets(); 43 std::unique_ptr<protos::TracePacket> ParseProto(); 57 std::unique_ptr<protos::pbzero::TracePacket> cur_packet_;
|
D | tracing_service_impl.h | 55 class TracePacket; variable 462 std::vector<TracePacket> initial_clock_snapshot_; 506 void SnapshotSyncMarker(std::vector<TracePacket>*); 507 void SnapshotClocks(std::vector<TracePacket>*, bool set_root_timestamp); 508 void SnapshotStats(TracingSession*, std::vector<TracePacket>*); 510 void MaybeEmitTraceConfig(TracingSession*, std::vector<TracePacket>*); 511 void MaybeEmitSystemInfo(TracingSession*, std::vector<TracePacket>*); 512 void MaybeEmitReceivedTriggers(TracingSession*, std::vector<TracePacket>*);
|
/external/perfetto/include/perfetto/tracing/core/ |
D | trace_packet.h | 33 class TracePacket; // From protos/trace_packet.pb.h. variable 44 class PERFETTO_EXPORT TracePacket { 52 TracePacket(); 53 ~TracePacket(); 54 TracePacket(TracePacket&&) noexcept; 55 TracePacket& operator=(TracePacket&&); 68 template <typename TracePacketType = protos::TracePacket> 91 TracePacket(const TracePacket&) = delete; 92 TracePacket& operator=(const TracePacket&) = delete;
|
D | consumer.h | 29 class TracePacket; variable 60 virtual void OnTraceData(std::vector<TracePacket>, bool has_more) = 0;
|
D | trace_writer.h | 30 class TracePacket; variable 51 protozero::MessageHandle<protos::pbzero::TracePacket>;
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 69 bool WritePackets(const std::vector<TracePacket>& packets) override; 79 bool WritePackets(const std::vector<TracePacket>& packets) override; 82 bool WritePacket(const TracePacket& packet); 110 bool FilePacketWriter::WritePackets(const std::vector<TracePacket>& packets) { in WritePackets() 111 for (const TracePacket& packet : packets) { in WritePackets() 138 bool ZipPacketWriter::WritePackets(const std::vector<TracePacket>& packets) { in WritePackets() 139 for (const TracePacket& packet : packets) { in WritePackets() 146 bool ZipPacketWriter::WritePacket(const TracePacket& packet) { in WritePacket() 209 std::vector<TracePacket> out_packets(1); in FinalizeCompressedPacket() 210 TracePacket& out_packet = out_packets[0]; in FinalizeCompressedPacket()
|
D | packet_writer_unittest.cc | 42 using TracePacketZero = protos::pbzero::TracePacket; 45 TracePacket CreateTracePacket(F fill_function) { in CreateTracePacket() 52 perfetto::TracePacket packet; in CreateTracePacket() 90 std::vector<perfetto::TracePacket> packets; in TEST() 118 std::vector<perfetto::TracePacket> packets; in TEST() 163 writer->WritePackets(std::vector<TracePacket>()); in TEST() 164 writer->WritePackets(std::vector<TracePacket>()); in TEST() 165 writer->WritePackets(std::vector<TracePacket>()); in TEST() 181 std::vector<perfetto::TracePacket> packets; in TEST() 193 for (const TracePacket& packet : packets) in TEST() [all …]
|
D | packet_writer.h | 26 class TracePacket; variable 32 virtual bool WritePackets(const std::vector<TracePacket>& packets) = 0;
|
/external/perfetto/src/trace_processor/ |
D | proto_trace_tokenizer.h | 66 const protos::pbzero::TracePacket::Decoder& packet_decoder); 68 const protos::pbzero::TracePacket::Decoder& packet_decoder); 70 const protos::pbzero::TracePacket::Decoder& packet_decoder, 73 const protos::pbzero::TracePacket::Decoder& packet_decoder); 75 const protos::pbzero::TracePacket::Decoder& packet_decoder,
|
D | proto_trace_tokenizer.cc | 95 protos::pbzero::TracePacket::kTrackEventFieldNumber))) { in GuessProtoTraceType() 193 protos::pbzero::TracePacket::Decoder decoder(packet.data(), packet.length()); in ParsePacket() 236 const protos::pbzero::TracePacket::Decoder& packet_decoder) { in HandleIncrementalStateCleared() 249 const protos::pbzero::TracePacket::Decoder& packet_decoder) { in HandlePreviousPacketDropped() 261 const protos::pbzero::TracePacket::Decoder& packet_decoder, in ParseInternedData() 302 const protos::pbzero::TracePacket::Decoder& packet_decoder) { in ParseThreadDescriptorPacket() 336 const protos::pbzero::TracePacket::Decoder& packet_decoder, in ParseTrackEventPacket()
|
/external/perfetto/src/tracing/test/ |
D | mock_consumer.cc | 100 std::vector<protos::TracePacket> MockConsumer::ReadBuffers() { in ReadBuffers() 101 std::vector<protos::TracePacket> decoded_packets; in ReadBuffers() 108 std::vector<TracePacket>* packets, bool has_more) { in ReadBuffers() 109 for (TracePacket& packet : *packets) { in ReadBuffers() 111 protos::TracePacket* decoded_packet = &decoded_packets.back(); in ReadBuffers()
|
D | mock_consumer.h | 57 std::vector<protos::TracePacket> ReadBuffers(); 72 void(std::vector<TracePacket>* /*packets*/, bool /*has_more*/)); 80 void OnTraceData(std::vector<TracePacket> packets, bool has_more) override { in OnTraceData()
|
D | tracing_integration_test.cc | 83 MOCK_METHOD2(OnTracePackets, void(std::vector<TracePacket>*, bool)); 90 void OnTraceData(std::vector<TracePacket> packets, bool has_more) { in OnTraceData() 95 void CheckTraceStats(const protos::TracePacket& packet) { in CheckTraceStats() 303 std::vector<TracePacket>* packets, bool has_more) { in TEST_F() 311 protos::TracePacket packet; in TEST_F() 427 const protos::TracePacket& packet = tmp_trace.packet(i); in TEST_F() 517 std::vector<TracePacket>* packets, bool has_more) { in TEST_F() 519 protos::TracePacket packet; in TEST_F()
|
/external/perfetto/docs/ |
D | trace-format.md | 8 A Perfetto trace is guaranteed to be a a linear sequence of `TracePacket(s)` 12 content of TracePacket, modulo the few fields defined in 25 The tracing service guarantees that all `TracePacket(s)` written by a given 30 However, `TracePacket(s)` written by different `TraceWriter` (hence even
|
/external/perfetto/src/traced/probes/ps/ |
D | process_stats_data_source_unittest.cc | 78 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F() 127 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F() 164 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F() 187 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F() 204 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F() 260 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F() 336 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F() 403 std::vector<protos::TracePacket> trace = writer_raw_->GetAllTracePackets(); in TEST_F()
|
/external/perfetto/test/ |
D | test_helper.h | 44 void OnTraceData(std::vector<TracePacket> packets, bool has_more) override; 84 const std::vector<protos::TracePacket>& trace() { return trace_; } in trace() 98 std::vector<protos::TracePacket> trace_;
|
/external/perfetto/protos/perfetto/trace/ |
D | trace.proto | 25 repeated TracePacket packet = 1; 29 // (streaming) where TracePacket are directly streamed without being wrapped 31 // logic should be based on TracePacket(s).
|
D | trace_packet.proto | 46 // TracePacket(s). 50 message TracePacket { message 90 // Each compressed_packets TracePacket (including the two field ids and 120 // usually emit new interned data in the same TracePacket that first refers to 131 // When set to true, this TracePacket and subsequent TracePackets on the same 133 // TracePacket. For example, previously emitted interned data will be
|
/external/perfetto/tools/trace_to_text/ |
D | utils.h | 33 class TracePacket; variable 52 const std::function<void(const protos::TracePacket&)>&);
|
/external/perfetto/test/cts/ |
D | heapprofd_test_cts.cc | 112 std::vector<protos::TracePacket> ProfileRuntime(std::string app_name) { in ProfileRuntime() 151 std::vector<protos::TracePacket> ProfileStartup(std::string app_name) { in ProfileStartup() 193 std::vector<protos::TracePacket> packets) { in AssertExpectedAllocationsPresent() 218 void AssertNoProfileContents(std::vector<protos::TracePacket> packets) { in AssertNoProfileContents()
|