Fix typo
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index 2cae4630eee22e14da47314798c3c09222f4c6a2..dde51bb4d8f0a2efacd6d841e7814b3e57908faa 100644 (file)
@@ -47,6 +47,11 @@ struct ctf_stream {
        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;
+       uint64_t prev_timestamp;        /* Last event */
+       uint64_t prev_timestamp_end;    /* End-of-packet timestamp */
 };
 
 struct ctf_stream_event {
@@ -82,6 +87,7 @@ struct ctf_clock {
        uint64_t offset_s;
        /* Fine clock offset from Epoch, in (1/freq) units. */
        uint64_t offset;
+       int absolute;
 
        enum {                                  /* Fields populated mask */
                CTF_CLOCK_name          =       (1U << 0),
@@ -113,6 +119,7 @@ struct ctf_trace {
        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;
 
@@ -205,15 +212,13 @@ struct ctf_event {
        GQuark name;
        uint64_t id;            /* Numeric identifier within the stream */
        uint64_t stream_id;
-       GQuark loglevel_identifier;
-       int64_t loglevel_value;
+       int loglevel;
 
        enum {                                  /* Fields populated mask */
                CTF_EVENT_name  =               (1 << 0),
                CTF_EVENT_id    =               (1 << 1),
                CTF_EVENT_stream_id =           (1 << 2),
-               CTF_EVENT_loglevel_identifier = (1 << 3),
-               CTF_EVENT_loglevel_value =      (1 << 4),
+               CTF_EVENT_loglevel =            (1 << 4),
        } field_mask;
 };
 
This page took 0.023452 seconds and 4 git commands to generate.