uint64_t timestamp; /* Current timestamp, in ns */
uint64_t event_id; /* Current event ID */
int has_timestamp;
uint64_t stream_id;
uint64_t timestamp; /* Current timestamp, in ns */
uint64_t event_id; /* Current event ID */
int has_timestamp;
uint64_t stream_id;
struct definition_struct *trace_packet_header;
struct definition_struct *stream_packet_context;
struct definition_struct *stream_event_header;
struct definition_struct *stream_event_context;
struct definition_struct *trace_packet_header;
struct definition_struct *stream_packet_context;
struct definition_struct *stream_event_header;
struct definition_struct *stream_event_context;
/* Event discarded information */
uint32_t events_discarded;
uint64_t prev_timestamp; /* Last event */
uint64_t prev_timestamp_end; /* End-of-packet timestamp */
};
/* Event discarded information */
uint32_t events_discarded;
uint64_t prev_timestamp; /* Last event */
uint64_t prev_timestamp_end; /* End-of-packet timestamp */
};
enum { /* Fields populated mask */
CTF_CLOCK_name = (1U << 0),
enum { /* Fields populated mask */
CTF_CLOCK_name = (1U << 0),
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;
/* Heap of streams, ordered to always get the lowest timestam */
struct ptr_heap *stream_heap;
/* Heap of streams, ordered to always get the lowest timestam */
struct ptr_heap *stream_heap;
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;