31 #include <dw/core/base/Status.h> 32 #include <dw/core/language/Function.hpp> 33 #include <dw/core/container/Span.hpp> 35 #ifndef CHANNEL_TRACE_HPP 36 #define CHANNEL_TRACE_HPP 236 #endif // CHANNEL_TRACE_HPP ChannelPacketFingerprint packetFingerprint
The fingerprint of the packet involved in the event.
uint32_t channelID
The trace ID of the channel to be processed.
dwStatus status
The status returned to the client (for events involving client interaction)
ChannelTraceWriteCallback output
Iterator to write the replayable traces of the channel to be processed.
ChannelTraceMode
A channel is created with a particular mode for these traces.
void ChannelTraceProcess(dw::core::span< ChannelTraceProcessParam > traces)
Process recorded traces from a set of interconnected producers/consumers into a replayable format...
ChannelTraceReadCallback input
Iterator to read the recorded traces of the channel to be processed.
dw::core::Function< void(ChannelTracePoint)> ChannelTraceWriteCallback
Callback used by channel to write a tracepoint.
ChannelTraceEventType eventType
The type of the event recorded in this trace point.
dw::core::Function< ChannelTraceWriteCallback(const char *channelID)> ChannelOnRegisterTraceWriter
Callback used by channel to register its need to write trace points.
dw::core::Function< bool(ChannelTracePoint &)> ChannelTraceReadCallback
Callback used by channel to read a tracepoint.
uint32_t ChannelTraceHashId(const char *id)
dw::core::Function< ChannelTraceReadCallback(const char *channelID)> ChannelOnRegisterTraceReader
Callback used by channel to register its need to read trace points.
Traces will be read and enforced by the channel.
This struct records the info relating to a single event on a channel.