Add state saving functions and update processTrace accordingly.
[lttv.git] / ltt / branches / poly / include / lttv / processTrace.h
index 610000cb19e276cdb41a6f33242157ae475830d1..e8505b5d8ba25bf0ca34909e207a250ece8148e7 100644 (file)
@@ -71,6 +71,7 @@ struct _LttvTracesetContext {
   LttvHooks *after;
   LttvTraceContext **traces;
   LttvAttribute *a;
+  LttvAttribute *ts_a;
   TimeInterval *Time_Span;
 };
 
@@ -113,12 +114,14 @@ struct _LttvTraceContext {
   LttvTracesetContext *ts_context;
   guint index;                /* in ts_context->traces */
   LttTrace *t;
+  LttvTrace *vt;
   LttvHooks *check;
   LttvHooks *before;
   LttvHooks *after;
   LttvTracefileContext **control_tracefiles;
   LttvTracefileContext **per_cpu_tracefiles;
   LttvAttribute *a;
+  LttvAttribute *t_a;
 };
 
 struct _LttvTraceContextClass {
@@ -160,8 +163,12 @@ struct _LttvTracefileContextClass {
 
 GType lttv_tracefile_context_get_type (void);
 
-void lttv_process_trace(LttTime start, LttTime end, LttvTraceset *traceset, 
-    LttvTracesetContext *context, unsigned maxNumEvents);
+void lttv_process_traceset(LttvTracesetContext *self, LttTime end, 
+    unsigned maxNumEvents);
+
+void lttv_process_traceset_seek_time(LttvTracesetContext *self, LttTime start);
+
+void lttv_process_trace_seek_time(LttvTraceContext *self, LttTime start);
 
 void lttv_traceset_context_add_hooks(LttvTracesetContext *self,
     LttvHooks *before_traceset, 
This page took 0.023335 seconds and 4 git commands to generate.