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;
struct trace_collection *collection; /* Container of this trace */
struct declaration_struct *packet_header_decl;
uint64_t major;
uint64_t minor;
struct trace_collection *collection; /* Container of this trace */
struct declaration_struct *packet_header_decl;
uint64_t major;
uint64_t minor;
/* 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;
struct ctf_trace *trace;
/* parent is lexical scope conaining the stream scope */
struct declaration_scope *declaration_scope;