struct ctf_stream {
struct ctf_stream_class *stream_class;
uint64_t timestamp; /* Current timestamp, in ns */
+ uint64_t prev_timestamp;
uint64_t event_id; /* Current event ID */
int has_timestamp;
uint64_t stream_id;
GPtrArray *events_by_id; /* Array of struct ctf_stream_event pointers indexed by id */
struct definition_scope *parent_def_scope; /* for initialization */
int stream_definitions_created;
+
+ /* Event discarded information */
+ uint32_t events_discarded;
+
};
struct ctf_stream_event {
GPtrArray *streams; /* Array of struct ctf_stream_class pointers */
struct ctf_stream *metadata;
GHashTable *clocks;
+ struct trace_collection *collection; /* Container of this trace */
struct declaration_struct *packet_header_decl;