pub enum Data {
Show 79 variants
ProcessTree(ProcessTree),
ProcessStats(ProcessStats),
InodeFileMap(InodeFileMap),
ChromeEvents(ChromeEventBundle),
ClockSnapshot(ClockSnapshot),
SysStats(SysStats),
TrackEvent(TrackEvent),
TraceUuid(TraceUuid),
TraceConfig(TraceConfig),
FtraceStats(FtraceStats),
TraceStats(TraceStats),
ProfilePacket(ProfilePacket),
StreamingAllocation(StreamingAllocation),
StreamingFree(StreamingFree),
Battery(BatteryCounters),
PowerRails(PowerRails),
AndroidLog(AndroidLogPacket),
SystemInfo(SystemInfo),
Trigger(Trigger),
ChromeTrigger(ChromeTrigger),
PackagesList(PackagesList),
ChromeBenchmarkMetadata(ChromeBenchmarkMetadata),
PerfettoMetatrace(PerfettoMetatrace),
ChromeMetadata(ChromeMetadataPacket),
GpuCounterEvent(GpuCounterEvent),
GpuRenderStageEvent(GpuRenderStageEvent),
StreamingProfilePacket(StreamingProfilePacket),
HeapGraph(HeapGraph),
GraphicsFrameEvent(GraphicsFrameEvent),
VulkanMemoryEvent(VulkanMemoryEvent),
GpuLog(GpuLog),
VulkanApiEvent(VulkanApiEvent),
PerfSample(PerfSample),
CpuInfo(CpuInfo),
SmapsPacket(SmapsPacket),
ServiceEvent(TracingServiceEvent),
InitialDisplayState(InitialDisplayState),
GpuMemTotalEvent(GpuMemTotalEvent),
MemoryTrackerSnapshot(MemoryTrackerSnapshot),
FrameTimelineEvent(FrameTimelineEvent),
AndroidEnergyEstimationBreakdown(AndroidEnergyEstimationBreakdown),
UiState(UiState),
AndroidCameraFrameEvent(AndroidCameraFrameEvent),
AndroidCameraSessionStats(AndroidCameraSessionStats),
TranslationTable(TranslationTable),
AndroidGameInterventionList(AndroidGameInterventionList),
StatsdAtom(StatsdAtom),
AndroidSystemProperty(AndroidSystemProperty),
EntityStateResidency(EntityStateResidency),
ProfiledFrameSymbols(ProfiledFrameSymbols),
ModuleSymbols(ModuleSymbols),
DeobfuscationMapping(DeobfuscationMapping),
TrackDescriptor(TrackDescriptor),
ProcessDescriptor(ProcessDescriptor),
ThreadDescriptor(ThreadDescriptor),
FtraceEvents(FtraceEventBundle),
SynchronizationMarker(Vec<u8>),
CompressedPackets(Vec<u8>),
ExtensionDescriptor(ExtensionDescriptor),
NetworkPacket(NetworkPacketEvent),
NetworkPacketBundle(NetworkPacketBundle),
TrackEventRangeOfInterest(TrackEventRangeOfInterest),
SurfaceflingerLayersSnapshot(LayersSnapshotProto),
SurfaceflingerTransactions(TransactionTraceEntry),
ShellTransition(ShellTransition),
ShellHandlerMappings(ShellHandlerMappings),
ProtologMessage(ProtoLogMessage),
ProtologViewerConfig(ProtoLogViewerConfig),
WinscopeExtensions(WinscopeExtensions),
EtwEvents(EtwTraceEventBundle),
V8JsCode(V8JsCode),
V8InternalCode(V8InternalCode),
V8WasmCode(V8WasmCode),
V8RegExpCode(V8RegExpCode),
V8CodeMove(V8CodeMove),
RemoteClockSync(RemoteClockSync),
PixelModemEvents(PixelModemEvents),
PixelModemTokenDatabase(PixelModemTokenDatabase),
ForTesting(TestEvent),
}Variants§
ProcessTree(ProcessTree)
ProcessStats(ProcessStats)
InodeFileMap(InodeFileMap)
ChromeEvents(ChromeEventBundle)
ClockSnapshot(ClockSnapshot)
SysStats(SysStats)
TrackEvent(TrackEvent)
TraceUuid(TraceUuid)
TraceConfig(TraceConfig)
FtraceStats(FtraceStats)
TraceStats(TraceStats)
ProfilePacket(ProfilePacket)
StreamingAllocation(StreamingAllocation)
StreamingFree(StreamingFree)
Battery(BatteryCounters)
PowerRails(PowerRails)
AndroidLog(AndroidLogPacket)
SystemInfo(SystemInfo)
Trigger(Trigger)
ChromeTrigger(ChromeTrigger)
PackagesList(PackagesList)
ChromeBenchmarkMetadata(ChromeBenchmarkMetadata)
PerfettoMetatrace(PerfettoMetatrace)
ChromeMetadata(ChromeMetadataPacket)
GpuCounterEvent(GpuCounterEvent)
GpuRenderStageEvent(GpuRenderStageEvent)
StreamingProfilePacket(StreamingProfilePacket)
HeapGraph(HeapGraph)
GraphicsFrameEvent(GraphicsFrameEvent)
VulkanMemoryEvent(VulkanMemoryEvent)
GpuLog(GpuLog)
VulkanApiEvent(VulkanApiEvent)
PerfSample(PerfSample)
CpuInfo(CpuInfo)
SmapsPacket(SmapsPacket)
ServiceEvent(TracingServiceEvent)
InitialDisplayState(InitialDisplayState)
GpuMemTotalEvent(GpuMemTotalEvent)
MemoryTrackerSnapshot(MemoryTrackerSnapshot)
FrameTimelineEvent(FrameTimelineEvent)
AndroidEnergyEstimationBreakdown(AndroidEnergyEstimationBreakdown)
UiState(UiState)
AndroidCameraFrameEvent(AndroidCameraFrameEvent)
AndroidCameraSessionStats(AndroidCameraSessionStats)
TranslationTable(TranslationTable)
AndroidGameInterventionList(AndroidGameInterventionList)
StatsdAtom(StatsdAtom)
AndroidSystemProperty(AndroidSystemProperty)
EntityStateResidency(EntityStateResidency)
ProfiledFrameSymbols(ProfiledFrameSymbols)
Only used in profile packets.
ModuleSymbols(ModuleSymbols)
DeobfuscationMapping(DeobfuscationMapping)
TrackDescriptor(TrackDescriptor)
Only used by TrackEvent.
ProcessDescriptor(ProcessDescriptor)
Deprecated, use TrackDescriptor instead.
ThreadDescriptor(ThreadDescriptor)
Deprecated, use TrackDescriptor instead.
FtraceEvents(FtraceEventBundle)
Events from the Linux kernel ftrace infrastructure.
SynchronizationMarker(Vec<u8>)
This field is emitted at periodic intervals (~10s) and contains always the binary representation of the UUID {82477a76-b28d-42ba-81dc-33326d57a079}. This is used to be able to efficiently partition long traces without having to fully parse them.
CompressedPackets(Vec<u8>)
Zero or more proto encoded trace packets compressed using deflate. Each compressed_packets TracePacket (including the two field ids and sizes) should be less than 512KB.
ExtensionDescriptor(ExtensionDescriptor)
Data sources can extend the trace proto with custom extension protos (see docs/design-docs/extensions.md). When they do that, the descriptor of their extension proto descriptor is serialized in this packet. This allows trace_processor to deserialize extended messages using reflection even if the extension proto is not checked in the Perfetto repo.
NetworkPacket(NetworkPacketEvent)
Represents a single packet sent or received by the network.
NetworkPacketBundle(NetworkPacketBundle)
Represents one or more packets sent or received by the network.
TrackEventRangeOfInterest(TrackEventRangeOfInterest)
The “range of interest” for track events. See the message definition comments for more details.
SurfaceflingerLayersSnapshot(LayersSnapshotProto)
Winscope traces
SurfaceflingerTransactions(TransactionTraceEntry)
ShellTransition(ShellTransition)
ShellHandlerMappings(ShellHandlerMappings)
ProtologMessage(ProtoLogMessage)
ProtologViewerConfig(ProtoLogViewerConfig)
WinscopeExtensions(WinscopeExtensions)
EtwEvents(EtwTraceEventBundle)
Events from the Windows etw infrastructure.
V8JsCode(V8JsCode)
V8InternalCode(V8InternalCode)
V8WasmCode(V8WasmCode)
V8RegExpCode(V8RegExpCode)
V8CodeMove(V8CodeMove)
RemoteClockSync(RemoteClockSync)
Clock synchronization with remote machines.
PixelModemEvents(PixelModemEvents)
PixelModemTokenDatabase(PixelModemTokenDatabase)
ForTesting(TestEvent)
This field is only used for testing. In previous versions of this proto this field had the id 268435455 This caused many problems:
- protozero decoder does not handle field ids larger than 999.
- old versions of protoc produce Java bindings with syntax errors when the field id is large enough.
Implementations§
Source§impl Data
impl Data
Sourcepub fn merge(
field: &mut Option<Data>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Data>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].