struct DroppedRecordDurationEvent

Defined at line 209 of file ../../zircon/kernel/lib/percpu_writer/include/lib/percpu_writer/buffer.h

This is the structure of the FXT duration event that will store dropped record metadata in

the trace buffer. Normally, we would use the FXT serialization functions to build this record

dynamically, but we cannot do this in the PerCpuBuffer because those functions invoke

writer->Reserve, which would lead to recursion. To avoid this, we serialize the record

manually using this struct, which in turn is set up to match the structure outlined in the

FXT spec: https://fuchsia.dev/fuchsia-src/reference/tracing/trace-format#event-record

Eventually, it would be nice to have the FXT serialization library support in-place

serialization, as that would allow us to remove this bespoke functionality.

Public Members

zx_instant_boot_ticks_t start
uint64_t process_id
uint64_t thread_id
uint64_t num_dropped_arg
uint64_t bytes_dropped_arg
zx_instant_boot_ticks_t end