Partial revert "Disable sync/"
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Fri, 29 Jan 2010 17:54:30 +0000 (12:54 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 2 Feb 2010 21:59:39 +0000 (16:59 -0500)
This partially reverts commits
86d5459b882f9874a61c1266c8c12478e1448377
5b96c742719728543bb067b8b154f294243c1c18
c73a133267f0de33bd7303de34a8f3e0ef90422a
ccf1db700d7477f4cd825ac435e2632443ee51f2

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
lttv/lttv/Makefile.am
lttv/lttv/sync/Makefile.am
lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
lttv/modules/gui/lttvwindow/lttvwindow/init_module.c
lttv/modules/text/batchAnalysis.c

index fbf6d6aad21d789f6588be9747787384d4288fe9..e98dcbf4bfd8a8d96174138e0079eeeaf2e85e48 100644 (file)
@@ -54,22 +54,20 @@ lttv_real_SOURCES = \
        tracecontext.c\
        traceset.c\
        filter.c\
-       print.c
-
-#Disabled by Mathieu Desnoyers (does not build on x86_64)
-#      sync/sync_chain.c\
-#      sync/sync_chain_lttv.c\
-#      sync/graph_functions.c\
-#      sync/data_structures.c\
-#      sync/event_processing_lttng_common.c\
-#      sync/event_processing_lttng_standard.c\
-#      sync/event_processing_lttng_null.c\
-#      sync/event_matching_broadcast.c\
-#      sync/event_matching_distributor.c\
-#      sync/event_matching_tcp.c\
-#      sync/event_analysis_chull.c\
-#      sync/event_analysis_eval.c\
-#      sync/event_analysis_linreg.c
+       print.c\
+       sync/sync_chain.c\
+       sync/sync_chain_lttv.c\
+       sync/graph_functions.c\
+       sync/data_structures.c\
+       sync/event_processing_lttng_common.c\
+       sync/event_processing_lttng_standard.c\
+       sync/event_processing_lttng_null.c\
+       sync/event_matching_broadcast.c\
+       sync/event_matching_distributor.c\
+       sync/event_matching_tcp.c\
+       sync/event_analysis_chull.c\
+       sync/event_analysis_eval.c\
+       sync/event_analysis_linreg.c
 
 lttvinclude_HEADERS = \
        attribute.h\
index fa9ac579e02319fe28727f9fadd6b894c8d6d431..a6b0b8a35b8a8e54e893573f0db9554d7dadfe7d 100644 (file)
@@ -1,38 +1,17 @@
 AM_CFLAGS= $(PACKAGE_CFLAGS)
 LDADD = $(M_LIBS) $(GLPK_LIBS)
 
-#Mathieu: does not build on x86 64, disable.
-#check_PROGRAMS = unittest
-#
-#unittest_SOURCES = \
-#      data_structures.c\
-#      graph_functions.c\
-#      sync_chain.c\
-#      sync_chain_unittest.c\
-#      event_processing_text.c\
-#      event_matching_broadcast.c\
-#      event_matching_distributor.c\
-#      event_matching_tcp.c\
-#      event_analysis_chull.c\
-#      event_analysis_eval.c\
-#      event_analysis_linreg.c
+check_PROGRAMS = unittest
 
-noinst_HEADERS = \
-       data_structures.h \
-       event_analysis_chull.h \
-       event_analysis_eval.h \
-       event_analysis.h \
-       event_analysis_linreg.h \
-       event_matching_broadcast.h \
-       event_matching_distributor.h \
-       event_matching.h \
-       event_matching_tcp.h \
-       event_processing.h \
-       event_processing_lttng_common.h \
-       event_processing_lttng_null.h \
-       event_processing_lttng_standard.h \
-       event_processing_text.h \
-       graph_functions.h \
-       lookup3.h \
-       sync_chain.h \
-       sync_chain_lttv.h
+unittest_SOURCES = \
+       data_structures.c\
+       graph_functions.c\
+       sync_chain.c\
+       sync_chain_unittest.c\
+       event_processing_text.c\
+       event_matching_broadcast.c\
+       event_matching_distributor.c\
+       event_matching_tcp.c\
+       event_analysis_chull.c\
+       event_analysis_eval.c\
+       event_analysis_linreg.c
index 5499da30193a4b67562cd49220e9e50feeda20c3..d58c3137af64f90a95c9f630df9e8b5612aaf787 100644 (file)
@@ -455,7 +455,6 @@ void insert_viewer(GtkWidget* widget, lttvwindow_viewer_constructor constructor)
   }
 }
 
-
 /**
  * Function to set/update traceset for the viewers
  * @param tab viewer's tab 
@@ -475,9 +474,7 @@ int SetTraceset(Tab * tab, LttvTraceset *traceset)
     LTTV_TRACESET_CONTEXT(tab->traceset_info->traceset_context);
 
   // Perform time synchronization on the traces
-  /* Mathieu Desnoyers: temporarily disable syncTraceset */
-  //if (syncTraceset(tsc))
-  if (0)
+  if (syncTraceset(tsc))
   {
     /* There is some time-dependant information that was calculated during
      * context initialization. Destroy the old contexts and initialize new
index 7878eeccbf34fe03cca6601314129c382ca036cd..99ab15f73972158ad4d9ab6d34736a610ec8e46b 100644 (file)
@@ -259,5 +259,4 @@ static void destroy() {
 
 LTTV_MODULE("lttvwindow", "Viewer main window", \
     "Viewer with multiple windows, tabs and panes for graphical modules", \
-           //init, destroy, "stats", "option", "sync")
-           init, destroy, "stats", "option")
+           init, destroy, "stats", "option", "sync")
index e150f4d18db9c473dc113c45e1f50dfd17529eda..4b02f33250f886c17082ed4e18537355e7627b5f 100644 (file)
@@ -91,8 +91,7 @@ static gboolean process_traceset(void *hook_data, void *call_data)
 
   lttv_context_init(tc, traceset);
 
-  /* Disabled by Mathieu, does not build on x86_64 */
-  /* syncTraceset(tc); */
+  syncTraceset(tc);
 
   lttv_state_add_event_hooks(tc);
   if(a_stats) lttv_stats_add_event_hooks(tscs);
@@ -277,5 +276,4 @@ static void destroy()
 
 LTTV_MODULE("batchAnalysis", "Batch processing of a trace", \
     "Run through a trace calling all the registered hooks", \
-    /* init, destroy, "state", "stats", "option","textFilter", "sync") */
-    init, destroy, "state", "stats", "option","textFilter")
+    init, destroy, "state", "stats", "option","textFilter", "sync")
This page took 0.027585 seconds and 4 git commands to generate.