/external/perfetto/src/trace_processor/importers/proto/ |
D | graphics_event_module.cc | 22 using perfetto::protos::pbzero::TracePacket; 26 RegisterForField(TracePacket::kGpuCounterEventFieldNumber, context); in GraphicsEventModule() 27 RegisterForField(TracePacket::kGpuRenderStageEventFieldNumber, context); in GraphicsEventModule() 28 RegisterForField(TracePacket::kGpuLogFieldNumber, context); in GraphicsEventModule() 29 RegisterForField(TracePacket::kGraphicsFrameEventFieldNumber, context); in GraphicsEventModule() 30 RegisterForField(TracePacket::kVulkanMemoryEventFieldNumber, context); in GraphicsEventModule() 31 RegisterForField(TracePacket::kVulkanApiEventFieldNumber, context); in GraphicsEventModule() 36 void GraphicsEventModule::ParsePacket(const TracePacket::Decoder& decoder, in ParsePacket() 40 case TracePacket::kGpuCounterEventFieldNumber: in ParsePacket() 43 case TracePacket::kGpuRenderStageEventFieldNumber: in ParsePacket() [all …]
|
D | system_probes_module.cc | 27 using perfetto::protos::pbzero::TracePacket; 31 RegisterForField(TracePacket::kProcessTreeFieldNumber, context); in SystemProbesModule() 32 RegisterForField(TracePacket::kProcessStatsFieldNumber, context); in SystemProbesModule() 33 RegisterForField(TracePacket::kSysStatsFieldNumber, context); in SystemProbesModule() 34 RegisterForField(TracePacket::kSystemInfoFieldNumber, context); in SystemProbesModule() 35 RegisterForField(TracePacket::kCpuInfoFieldNumber, context); in SystemProbesModule() 39 const protos::pbzero::TracePacket::Decoder& decoder, in TokenizePacket() 45 case TracePacket::kSystemInfoFieldNumber: in TokenizePacket() 48 case TracePacket::kCpuInfoFieldNumber: in TokenizePacket() 55 void SystemProbesModule::ParsePacket(const TracePacket::Decoder& decoder, in ParsePacket() [all …]
|
D | track_event_module.cc | 31 using perfetto::protos::pbzero::TracePacket; 35 RegisterForField(TracePacket::kTrackEventFieldNumber, context); in TrackEventModule() 36 RegisterForField(TracePacket::kTrackDescriptorFieldNumber, context); in TrackEventModule() 37 RegisterForField(TracePacket::kThreadDescriptorFieldNumber, context); in TrackEventModule() 38 RegisterForField(TracePacket::kProcessDescriptorFieldNumber, context); in TrackEventModule() 44 const TracePacket::Decoder& decoder, in TokenizePacket() 50 case TracePacket::kTrackDescriptorFieldNumber: in TokenizePacket() 53 case TracePacket::kTrackEventFieldNumber: in TokenizePacket() 57 case TracePacket::kThreadDescriptorFieldNumber: in TokenizePacket() 64 void TrackEventModule::ParsePacket(const TracePacket::Decoder& decoder, in ParsePacket() [all …]
|
D | android_probes_module.cc | 32 using perfetto::protos::pbzero::TracePacket; 36 RegisterForField(TracePacket::kBatteryFieldNumber, context); in AndroidProbesModule() 37 RegisterForField(TracePacket::kPowerRailsFieldNumber, context); in AndroidProbesModule() 38 RegisterForField(TracePacket::kAndroidLogFieldNumber, context); in AndroidProbesModule() 39 RegisterForField(TracePacket::kPackagesListFieldNumber, context); in AndroidProbesModule() 40 RegisterForField(TracePacket::kInitialDisplayStateFieldNumber, context); in AndroidProbesModule() 49 if (field_id != TracePacket::kPowerRailsFieldNumber) in TokenizePacket() 61 protos::pbzero::TracePacket::Decoder decoder(packet->data(), in TokenizePacket() 69 protozero::HeapBuffered<protos::pbzero::TracePacket> desc_packet; in TokenizePacket() 97 protozero::HeapBuffered<protos::pbzero::TracePacket> data_packet; in TokenizePacket() [all …]
|
D | profile_module.cc | 37 using perfetto::protos::pbzero::TracePacket; 42 RegisterForField(TracePacket::kStreamingProfilePacketFieldNumber, context); in ProfileModule() 47 ModuleResult ProfileModule::TokenizePacket(const TracePacket::Decoder& decoder, in TokenizePacket() 53 case TracePacket::kStreamingProfilePacketFieldNumber: in TokenizePacket() 60 void ProfileModule::ParsePacket(const TracePacket::Decoder& decoder, in ParsePacket() 64 case TracePacket::kStreamingProfilePacketFieldNumber: in ParsePacket()
|
/external/perfetto/src/tracing/core/ |
D | trace_packet.cc | 24 TracePacket::TracePacket() = default; 25 TracePacket::~TracePacket() = default; 27 TracePacket::TracePacket(TracePacket&& other) noexcept { in TracePacket() function in perfetto::TracePacket 31 TracePacket& TracePacket::operator=(TracePacket&& other) { in operator =() 39 void TracePacket::AddSlice(Slice slice) { in AddSlice() 44 void TracePacket::AddSlice(const void* start, size_t size) { in AddSlice() 49 std::tuple<char*, size_t> TracePacket::GetProtoPreamble() { in GetProtoPreamble() 65 std::string TracePacket::GetRawBytesForTesting() { in GetRawBytesForTesting()
|
D | trace_packet_unittest.cc | 30 protos::gen::TracePacket proto; in TEST() 33 TracePacket tp; in TEST() 41 protos::gen::TracePacket decoded_packet; in TEST() 47 protos::gen::TracePacket proto; in TEST() 51 TracePacket tp; in TEST() 72 protos::gen::TracePacket decoded_packet; in TEST() 78 protos::gen::TracePacket proto; in TEST() 81 TracePacket tp; in TEST() 83 protos::gen::TracePacket decoded_packet; in TEST() 94 TracePacket tp; in TEST() [all …]
|
D | packet_stream_validator_unittest.cc | 38 protos::gen::TracePacket proto; in TEST() 48 protos::gen::TracePacket proto; in TEST() 65 protos::gen::TracePacket proto; in TEST() 75 protos::gen::TracePacket proto; in TEST() 85 protos::gen::TracePacket proto; in TEST() 95 protos::gen::TracePacket proto; in TEST() 113 protos::gen::TracePacket proto; in TEST() 133 protos::gen::TracePacket proto; in TEST() 155 protos::gen::TracePacket proto; in TEST() 167 protos::gen::TracePacket proto; in TEST()
|
D | packet_stream_validator.cc | 35 protos::pbzero::TracePacket::kTrustedUidFieldNumber, 36 protos::pbzero::TracePacket::kTrustedPacketSequenceIdFieldNumber, 37 protos::pbzero::TracePacket::kTraceConfigFieldNumber, 38 protos::pbzero::TracePacket::kTraceStatsFieldNumber, 39 protos::pbzero::TracePacket::kCompressedPacketsFieldNumber, 40 protos::pbzero::TracePacket::kSynchronizationMarkerFieldNumber,
|
D | trace_writer_for_testing.cc | 32 cur_packet_.reset(new protos::pbzero::TracePacket()); in TraceWriterForTesting() 46 std::vector<protos::gen::TracePacket> 52 std::vector<protos::gen::TracePacket> ret; in GetAllTracePackets() 55 protos::gen::TracePacket packet; in GetAllTracePackets() 63 protos::gen::TracePacket TraceWriterForTesting::GetOnlyTracePacket() { in GetOnlyTracePacket()
|
D | trace_writer_for_testing.h | 41 std::vector<protos::gen::TracePacket> GetAllTracePackets(); 42 protos::gen::TracePacket GetOnlyTracePacket(); 56 std::unique_ptr<protos::pbzero::TracePacket> cur_packet_;
|
D | tracing_service_impl_unittest.cc | 75 const std::vector<protos::gen::TracePacket>& packets, in HasTriggerModeInternal() 80 &protos::gen::TracePacket::trace_config, in HasTriggerModeInternal() 784 &protos::gen::TracePacket::trace_config, in TEST_F() 792 Property(&protos::gen::TracePacket::trigger, in TEST_F() 798 Property(&protos::gen::TracePacket::trusted_packet_sequence_id, in TEST_F() 859 &protos::gen::TracePacket::trace_config, in TEST_F() 868 Property(&protos::gen::TracePacket::trigger, in TEST_F() 874 Property(&protos::gen::TracePacket::trusted_packet_sequence_id, in TEST_F() 912 Property(&protos::gen::TracePacket::trigger, in TEST_F() 916 Property(&protos::gen::TracePacket::trusted_packet_sequence_id, in TEST_F() [all …]
|
/external/perfetto/include/perfetto/ext/tracing/core/ |
D | trace_packet.h | 38 class PERFETTO_EXPORT TracePacket { 48 TracePacket(); 49 ~TracePacket(); 50 TracePacket(TracePacket&&) noexcept; 51 TracePacket& operator=(TracePacket&&); 77 TracePacket(const TracePacket&) = delete; 78 TracePacket& operator=(const TracePacket&) = delete;
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | ftrace_module_impl.cc | 29 using perfetto::protos::pbzero::TracePacket; 33 RegisterForField(TracePacket::kFtraceEventsFieldNumber, context); in FtraceModuleImpl() 34 RegisterForField(TracePacket::kFtraceStatsFieldNumber, context); in FtraceModuleImpl() 38 const protos::pbzero::TracePacket::Decoder& decoder, in TokenizePacket() 43 if (field_id == TracePacket::kFtraceEventsFieldNumber) { in TokenizePacket() 53 const protos::pbzero::TracePacket::Decoder& decoder, in ParsePacket() 56 if (field_id == TracePacket::kFtraceStatsFieldNumber) { in ParsePacket()
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer_unittest.cc | 43 using TracePacketProto = protos::gen::TracePacket; 46 TracePacket CreateTracePacket(F fill_function) { in CreateTracePacket() 52 perfetto::TracePacket packet; in CreateTracePacket() 100 std::vector<perfetto::TracePacket> packets; in TEST() 128 std::vector<perfetto::TracePacket> packets; in TEST() 177 writer->WritePackets(std::vector<TracePacket>()); in TEST() 178 writer->WritePackets(std::vector<TracePacket>()); in TEST() 179 writer->WritePackets(std::vector<TracePacket>()); in TEST() 191 std::vector<perfetto::TracePacket> packets; in TEST() 203 for (const TracePacket& packet : packets) in TEST() [all …]
|
D | packet_writer.h | 33 virtual bool WritePackets(const std::vector<TracePacket>& packets) { in WritePackets() 34 for (const TracePacket& packet : packets) { in WritePackets() 41 virtual bool WritePacket(const TracePacket& packets) = 0;
|
D | packet_writer.cc | 84 bool WritePacket(const TracePacket& packet) override; 96 bool FilePacketWriter::WritePacket(const TracePacket& packet) { in WritePacket() 117 bool WritePacket(const TracePacket& packet) override; 152 bool ZipPacketWriter::WritePacket(const TracePacket& packet) { in WritePacket() 224 std::vector<TracePacket> out_packets(1); in FinalizeCompressedPacket() 225 TracePacket& out_packet = out_packets[0]; in FinalizeCompressedPacket()
|
/external/perfetto/src/tracing/test/ |
D | mock_consumer.cc | 100 std::vector<protos::gen::TracePacket> MockConsumer::ReadBuffers() { in ReadBuffers() 101 std::vector<protos::gen::TracePacket> decoded_packets; in ReadBuffers() 108 std::vector<TracePacket>* packets, bool has_more) { in ReadBuffers() 109 for (TracePacket& packet : *packets) { in ReadBuffers() 111 protos::gen::TracePacket* decoded_packet = in ReadBuffers()
|
D | mock_consumer.h | 58 std::vector<protos::gen::TracePacket> ReadBuffers(); 74 void(std::vector<TracePacket>* /*packets*/, bool /*has_more*/)); 82 void OnTraceData(std::vector<TracePacket> packets, bool has_more) override { in OnTraceData()
|
/external/perfetto/docs/concepts/ |
D | clock-sync.md | 38 1. [The timestamp_clock_id field of TracePacket](#timestamp_clock_id) 41 ### {#timestamp_clock_id} The timestamp_clock_id field of TracePacket 44 message TracePacket { 47 // Specifies the ID of the clock used for the TracePacket |timestamp|. Can be 75 within the sequence of TracePacket(s) written by the same `TraceWriter` 76 (i.e. TracePacket that have the same `trusted_packet_sequence_id` field). 94 used to emit other `TracePacket`(s) that refer to such `timestamp_clock_id`. 95 * Must be emitted before the custom clock is referred to by any `TracePacket` 109 `TracePacket`(s) of the trace. 113 be referred to by any `TracePacket` written by any `TraceWriter` sequence. [all …]
|
/external/perfetto/protos/perfetto/trace/ |
D | trace_packet.proto | 62 // TracePacket is the root object of a Perfeto trace. 63 // A Perfetto trace is a linear sequence of TracePacket(s). 65 // The tracing service guarantees that all TracePacket(s) written by a given 69 // TracePacket(s) written by different TraceWriter(s), hence even different 75 // The tracing service is agnostic of the content of TracePacket, with the 83 message TracePacket { message 84 // The timestamp of the TracePacket. 92 // Specifies the ID of the clock used for the TracePacket |timestamp|. Can be 163 // Each compressed_packets TracePacket (including the two field ids and 193 // usually emit new interned data in the same TracePacket that first refers to [all …]
|
D | trace.proto | 24 repeated TracePacket packet = 1; 28 // (streaming) where TracePacket are directly streamed without being wrapped 30 // logic should be based on TracePacket(s).
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source_unittest.cc | 249 protos::gen::TracePacket packet = writer_raw_->GetOnlyTracePacket(); in TEST_F() 277 protos::gen::TracePacket packet = writer_raw_->GetOnlyTracePacket(); in TEST_F() 298 protos::gen::TracePacket packet = writer_raw_->GetOnlyTracePacket(); in TEST_F() 323 protos::gen::TracePacket packet = writer_raw_->GetOnlyTracePacket(); in TEST_F() 340 protos::gen::TracePacket packet = writer_raw_->GetOnlyTracePacket(); in TEST_F() 382 protos::gen::TracePacket packet = writer_raw_->GetOnlyTracePacket(); in TEST_F()
|
/external/v8/src/libplatform/tracing/ |
D | trace-event-listener.h | 14 class TracePacket; variable 30 virtual void ProcessPacket(const ::perfetto::protos::TracePacket& packet) = 0;
|
/external/perfetto/include/perfetto/tracing/ |
D | trace_writer_base.h | 26 class TracePacket; variable 37 virtual protozero::MessageHandle<protos::pbzero::TracePacket>
|