fix position saving in event list
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 1 Sep 2005 13:19:19 +0000 (13:19 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 1 Sep 2005 13:19:19 +0000 (13:19 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1104 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/detailedevents/events.c

index 2a58cb215cb62b847a5965e6faae938d28ddb5b6..4cea582a8f9922ca5695a2975eebc2b91bf0c84a 100644 (file)
@@ -909,6 +909,7 @@ static void get_events(double new_value, EventViewerData *event_viewer_data)
    * we are already at the right read position. It would be costier to use the
    * seek time closest for nothing, as we only have few events to read. 
    */
+  /* FIXME : use seek time closest and middle to have a good state. */
 
   lttv_process_traceset_begin(tsc,
       NULL, NULL, NULL, event_viewer_data->event_hooks, NULL);
@@ -952,6 +953,8 @@ int event_hook(void *hook_data, void *call_data)
   LttvTracesetContextPosition *pos =
     lttv_traceset_context_position_new(tfc->t_context->ts_context);
 
+  lttv_traceset_context_position_save(tfc->t_context->ts_context, pos);
+
   if(field)
     lttv_print_field(e, field, desc, TRUE);
 
This page took 0.024549 seconds and 4 git commands to generate.