X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ftracecontext.h;h=fcfef98b572f6bc681b9db704a71bf29e05c44f8;hb=e38d9ea05da26962532573de017dd2e1893683ca;hp=c8ec8443c7e1f4279ba48ccdd82ed54f4ede5aff;hpb=33e44b82c5966a1841044f9ad87485054a39df7e;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.h b/ltt/branches/poly/lttv/lttv/tracecontext.h index c8ec8443..fcfef98b 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.h +++ b/ltt/branches/poly/lttv/lttv/tracecontext.h @@ -147,6 +147,7 @@ struct _LttvTraceContext { GArray *tracefiles; LttvAttribute *a; LttvAttribute *t_a; + TimeInterval time_span; }; struct _LttvTraceContextClass { @@ -174,6 +175,8 @@ struct _LttvTracefileContext { LttvHooksById *event_by_id; LttTime timestamp; LttvAttribute *a; + gint target_pid; /* Target PID of the event. + Updated by state.c. -1 means unset. */ }; struct _LttvTracefileContextClass { @@ -311,7 +314,8 @@ LttvTracefileContext *lttv_traceset_context_get_current_tfc( LttvTracesetContext *self); -LttvTracesetContextPosition *lttv_traceset_context_position_new(); +LttvTracesetContextPosition *lttv_traceset_context_position_new( + const LttvTracesetContext *self); void lttv_traceset_context_position_save(const LttvTracesetContext *self, LttvTracesetContextPosition *pos); @@ -346,7 +350,7 @@ void lttv_process_traceset_get_sync_data(LttvTracesetContext *tsc); #define BACKWARD_SEEK_MUL 2 /* Multiplication factor of time_offset between backward seek iterations */ -static const LttTime seek_back_default_offset = { 0, 100000 }; +static const LttTime seek_back_default_offset = { 1, 0 }; guint lttv_process_traceset_seek_n_forward(LttvTracesetContext *self, guint n,