Expand description
Structured event payloads.
Payloads are plain, Copy scalar records so the hot capture path can
store them into preallocated per-thread buffers with zero heap
allocation per event (KatraProfiler budget: “avoid heap allocation
unless justified”).
The enum layout is part of the trace format; append new variants at the end.
Structs§
- Cache
Payload - Payload for cache events.
- D3d12
Payload - Payload for D3D12 calls. The call identity is in
crate::EventKind;a..dcarry call-specific scalar arguments. - Decompress
Payload - Payload for decompression events.
- File
Payload - Payload for file operations.
- GpuPayload
- Payload for GPU counters/samples.
- IoPayload
- Payload for I/O events.
- Katra
Payload - Payload for Katra-native events.
- MemPayload
- Payload for memory operations.
- Present
Payload - Payload for present events.
- RawPayload
- Payload for future/unknown event kinds (extension escape hatch).
- Shader
Payload - Payload for shader events.
- Sync
Payload - Payload for synchronization operations.
- Thread
Payload - Payload for thread operations.
- Vulkan
Payload - Payload for Vulkan calls. The call identity is in
crate::EventKind.
Enums§
- Payload
- The payload of a
crate::TraceEvent. Plain scalars only; append-only.