Expand description
Nested message and enum types in TrackEvent
.
Modules§
- Nested message and enum types in
LegacyEvent
.
Structs§
- Apart from {category, time, thread time, tid, pid}, other legacy trace event attributes are initially simply proxied for conversion to a JSON trace. We intend to gradually transition these attributes to similar native features in TrackEvent (e.g. async + flow events), or deprecate them without replacement where transition is unsuitable.
Enums§
- A new value for a counter track. |track_uuid| should refer to a track with a CounterDescriptor, and |type| should be TYPE_COUNTER. For a more efficient encoding of counter values that are sampled at the beginning/end of a slice, see |extra_counter_values| and |extra_counter_track_uuids|. Counter values can optionally be encoded in as delta values (positive or negative) on each packet sequence (see CounterIncrementalBase).
- Optional name of the event for its display in trace viewer. May be left unspecified for events with typed arguments.
- This field is used only if the source location represents the function that executes during this event.
- Deprecated. Use |extra_counter_values| and |extra_counter_track_uuids| to encode thread instruction count instead.
- Deprecated. Use |extra_counter_values| and |extra_counter_track_uuids| to encode thread time instead.
- Deprecated. Use the |timestamp| and |timestamp_clock_id| fields in TracePacket instead.
- Type of the TrackEvent (required if |phase| in LegacyEvent is not set).