GArray *tracefiles;
LttvAttribute *a;
LttvAttribute *t_a;
+ TimeInterval time_span;
};
struct _LttvTraceContextClass {
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 {
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);
#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,