uint64_t timestamp; /* Current timestamp, in ns */
uint64_t event_id; /* Current event ID */
int has_timestamp;
uint64_t timestamp; /* Current timestamp, in ns */
uint64_t event_id; /* Current event ID */
int has_timestamp;
struct definition_struct *stream_packet_context;
struct definition_struct *stream_event_header;
struct definition_struct *stream_event_context;
struct definition_struct *stream_packet_context;
struct definition_struct *stream_event_header;
struct definition_struct *stream_event_context;
struct declaration_scope *declaration_scope;
/* innermost definition scope. to be used as parent of stream. */
struct definition_scope *definition_scope;
struct declaration_scope *declaration_scope;
/* innermost definition scope. to be used as parent of stream. */
struct definition_scope *definition_scope;
- GPtrArray *streams; /* Array of struct ctf_stream_class pointers */
- struct ctf_stream *metadata;
+ GPtrArray *streams; /* Array of struct ctf_stream_declaration pointers */
+ struct ctf_stream_definition *metadata;
GHashTable *clocks;
struct ctf_clock *single_clock; /* currently supports only one clock */
struct trace_collection *collection; /* Container of this trace */
GHashTable *clocks;
struct ctf_clock *single_clock; /* currently supports only one clock */
struct trace_collection *collection; /* Container of this trace */
/* Heap of streams, ordered to always get the lowest timestam */
struct ptr_heap *stream_heap;
char path[PATH_MAX];
/* Heap of streams, ordered to always get the lowest timestam */
struct ptr_heap *stream_heap;
char path[PATH_MAX];
struct ctf_trace *trace;
/* parent is lexical scope conaining the stream scope */
struct declaration_scope *declaration_scope;
/* innermost definition scope. to be used as parent of event. */
struct definition_scope *definition_scope;
struct ctf_trace *trace;
/* parent is lexical scope conaining the stream scope */
struct declaration_scope *declaration_scope;
/* innermost definition scope. to be used as parent of event. */
struct definition_scope *definition_scope;
GHashTable *event_quark_to_id; /* GQuark to numeric id */
struct declaration_struct *packet_context_decl;
GHashTable *event_quark_to_id; /* GQuark to numeric id */
struct declaration_struct *packet_context_decl;