X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Fcallbacks.c;h=8de2ba16d87a331299cdedf2c90df287b212ab3a;hb=088f6772c700cf75d4ba27adf086dc37d961a960;hp=0f94bf444a7e72a325b471ee4f1785de8a5d8ff7;hpb=18c87975cf8d433804fd1ba833e1024790c5b4b8;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index 0f94bf44..8de2ba16 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -951,7 +951,7 @@ gboolean lttvwindow_process_pending_requests(Tab *tab) } } } -#if 0 + /* 0.1 Lock Traces */ { guint iter_trace=0; @@ -969,8 +969,9 @@ gboolean lttvwindow_process_pending_requests(Tab *tab) } /* 0.2 Seek tracefiles positions to context position */ + //g_assert(lttv_process_traceset_seek_position(tsc, sync_position) == 0); lttv_process_traceset_synchronize_tracefiles(tsc); -#endif //0 + /* Events processing algorithm implementation */ /* Warning : the gtk_events_pending takes a LOT of cpu time. So what we do @@ -1602,10 +1603,10 @@ gboolean lttvwindow_process_pending_requests(Tab *tab) } -#if 0 /* C Unlock Traces */ { - //lttv_process_traceset_get_sync_data(tsc); + lttv_process_traceset_get_sync_data(tsc); + //lttv_traceset_context_position_save(tsc, sync_position); guint iter_trace; @@ -1617,7 +1618,6 @@ gboolean lttvwindow_process_pending_requests(Tab *tab) lttvwindowtraces_unlock(trace_v); } } -#endif //0 #if 0 //set the cursor back to normal gdk_window_set_cursor(win, NULL);