X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Ftracecontext.h;h=764e38a7efb1d5c01ff6071860bb55ea6a960baa;hb=f826ad80ef4be944bdda493bf0ce8b7706d4131c;hp=acedeea637fa4dbe1a21d6cdc0a1b4e3e6694a4c;hpb=90e19f82bca635a1ba52b8a50b64e484bd19c14f;p=lttv.git diff --git a/lttv/lttv/tracecontext.h b/lttv/lttv/tracecontext.h index acedeea6..764e38a7 100644 --- a/lttv/lttv/tracecontext.h +++ b/lttv/lttv/tracecontext.h @@ -84,6 +84,9 @@ typedef struct _LttvFilter LttvFilter; #define LTTVFILTER_TYPE_DEFINED #endif +typedef struct _LttvTraceState LttvTraceState; + + #define LTTV_TRACESET_CONTEXT_TYPE (lttv_traceset_context_get_type ()) #define LTTV_TRACESET_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LTTV_TRACESET_CONTEXT_TYPE, LttvTracesetContext)) #define LTTV_TRACESET_CONTEXT_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), LTTV_TRACESET_CONTEXT_TYPE, LttvTracesetContextClass)) @@ -100,6 +103,10 @@ struct _LttvTracesetContext { LttvAttribute *ts_a; TimeInterval time_span; GTree *pqueue; + struct bt_ctf_iter *iter; + /* TODO ybrosseau: Added for babeltrace proto */ + LttvHooks *event_hooks; + LttvTraceState *tmpState; /* Remove when we have the state in LttvTrace */ LttvTracesetContextPosition *sync_position; /* position at which to sync the trace context */ @@ -220,6 +227,8 @@ void lttv_process_traceset_end(LttvTracesetContext *self, LttvHooks *event, LttvHooksByIdChannelArray *event_by_id_channel); +guint lttv_process_traceset_update(LttvTracesetContext *self); + void lttv_process_traceset_seek_time(LttvTracesetContext *self, LttTime start);