Skip to main content

Module trace_packet

Module trace_packet 

Source
Expand description

Nested message and enum types in TracePacket.

Modules§

proto_vms
Nested message and enum types in ProtoVms.

Structs§

ProtoVms
Encapsulates the state and configuration of the ProtoVM instances running when the trace was snapshotted. This allows TP to re-instantiate the VMs and use them to inflate patches into full-state packets. Note: this message can’t be defined in a dedicated file because it has a recursive dependency with TracePacket (see ‘state’ field below).

Enums§

Data
DataLossReason
Bit flags OR-ed together into |previous_packet_dropped| to describe why packets were dropped. DATA_LOSS_PRESENT is set on every loss; the remaining bits attribute the cause and are set either by TraceBufferV2 in the service or by the producer’s trace writer.
OptionalTrustedPacketSequenceId
Service-assigned identifier of the packet sequence this packet belongs to. Uniquely identifies a producer + writer pair within the tracing session. A value of zero denotes an invalid ID. Keep in sync with TrustedPacket.trusted_packet_sequence_id.
OptionalTrustedUid
Trusted user id of the producer which generated this packet. Keep in sync with TrustedPacket.trusted_uid.
SequenceFlags