/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 | 31 cur_packet_.reset(new protos::pbzero::TracePacket()); in TraceWriterForTesting() 45 std::unique_ptr<protos::TracePacket> TraceWriterForTesting::ParseProto() { in ParseProto() 48 auto packet = std::unique_ptr<protos::TracePacket>(new protos::TracePacket()); in ParseProto()
|
D | trace_writer_for_testing.h | 40 std::unique_ptr<protos::TracePacket> ParseProto(); 53 std::unique_ptr<protos::pbzero::TracePacket> cur_packet_;
|
D | trace_buffer.h | 35 class TracePacket; variable 219 bool ReadNextTracePacket(TracePacket*, uid_t* producer_uid); 432 ReadAheadResult ReadAhead(TracePacket*); 455 bool ReadNextPacketInChunk(ChunkMeta*, TracePacket*);
|
D | service_impl.h | 51 class TracePacket; variable 280 void MaybeSnapshotClocks(TracingSession*, std::vector<TracePacket>*); 281 void MaybeEmitTraceConfig(TracingSession*, std::vector<TracePacket>*); 282 void MaybeSnapshotStats(TracingSession*, std::vector<TracePacket>*);
|
D | trace_buffer.cc | 394 bool TraceBuffer::ReadNextTracePacket(TracePacket* packet, in ReadNextTracePacket() 542 TraceBuffer::ReadAheadResult TraceBuffer::ReadAhead(TracePacket* packet) { in ReadAhead() 611 *packet = TracePacket(); // clear. in ReadAhead() 621 TracePacket* packet) { in ReadNextPacketInChunk()
|
/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 | 28 class TracePacket; variable 57 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/tracing/test/ |
D | mock_consumer.cc | 91 std::vector<protos::TracePacket> MockConsumer::ReadBuffers() { in ReadBuffers() 92 std::vector<protos::TracePacket> decoded_packets; in ReadBuffers() 99 std::vector<TracePacket>* packets, bool has_more) { in ReadBuffers() 100 for (TracePacket& packet : *packets) { in ReadBuffers() 102 protos::TracePacket* decoded_packet = &decoded_packets.back(); in ReadBuffers()
|
D | mock_consumer.h | 55 std::vector<protos::TracePacket> ReadBuffers(); 64 void(std::vector<TracePacket>* /*packets*/, bool /*has_more*/)); 68 void OnTraceData(std::vector<TracePacket> packets, bool has_more) override { in OnTraceData()
|
D | tracing_integration_test.cc | 76 MOCK_METHOD2(OnTracePackets, void(std::vector<TracePacket>*, bool)); 79 void OnTraceData(std::vector<TracePacket> packets, bool has_more) { in OnTraceData() 84 void CheckTraceStats(const protos::TracePacket& packet) { in CheckTraceStats() 234 std::vector<TracePacket>* packets, bool has_more) { in TEST_F() 242 protos::TracePacket packet; in TEST_F() 355 const protos::TracePacket& packet = tmp_trace.packet(i); 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
|
D | life-of-a-tracing-session.md | 35 [`TracePacket`](/protos/perfetto/trace/trace_packet.proto). 38 14. While writing a `TracePacket`, the `TraceWriter` will unavoidably cross the 46 17. If one or more long `TracePacket` were fragmented over several chunks, it is 76 24. The service reads the trace buffers and streams all the `TracePacket(s)`
|
D | security-model.md | 54 The tracing service guarantees that the `TracePacket` fields defined also in 61 At the moment nothing prevents that a producer writes `TracePacket(s)` that do 65 However, the service appends the POSIX uid of the producer to each `TracePacket`
|
/external/perfetto/test/ |
D | test_helper.h | 40 void OnTraceData(std::vector<TracePacket> packets, bool has_more) override; 57 const std::vector<protos::TracePacket>& trace() { return trace_; } in trace() 66 std::vector<protos::TracePacket> trace_;
|
D | test_helper.cc | 59 void TestHelper::OnTraceData(std::vector<TracePacket> packets, bool has_more) { in OnTraceData() 61 protos::TracePacket packet; in OnTraceData() 67 ASSERT_EQ(protos::TracePacket::kTrustedUid, in OnTraceData()
|
/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 | 33 // TracePacket(s). 36 message TracePacket { message
|
D | trusted_packet.proto | 35 // This proto contains trusted fields of TracePacket which may only be generated 37 // ids here must be kept in sync with TracePacket.
|
/external/perfetto/tools/trace_to_text/ |
D | main.cc | 90 using protos::TracePacket; 124 const std::function<void(const protos::TracePacket&)>& f) { in ForEachPacketInTrace() 160 protos::TracePacket packet; in ForEachPacketInTrace() 172 ForEachPacketInTrace(input, [&sorted](const protos::TracePacket& packet) { in TraceToSystrace() 404 &resolved_scan_inodes](const protos::TracePacket& packet) { in TraceToSummary()
|
/external/perfetto/src/traced/probes/ |
D | process_stats_data_source_unittest.cc | 66 std::unique_ptr<protos::TracePacket> packet = writer_raw_->ParseProto(); in TEST_F() 99 std::unique_ptr<protos::TracePacket> packet = writer_raw_->ParseProto(); in TEST_F()
|
/external/perfetto/src/tracing/ipc/service/ |
D | consumer_ipc_service.cc | 145 std::vector<TracePacket> trace_packets, in OnTraceData() 168 for (const TracePacket& trace_packet : trace_packets) { in OnTraceData()
|