unfinished conversion of gui modules
[lttv.git] / ltt / branches / poly / lttv / modules / text / batchAnalysis.c
index 80f11d3c361de18af0114c9cf1d54aca5e13031d..12dea8d53bc2c0b1992651ee500f3123372b7cc8 100644 (file)
@@ -23,6 +23,7 @@
 #include <config.h>
 #endif
 
+#include <glib.h>
 #include <lttv/lttv.h>
 #include <lttv/attribute.h>
 #include <lttv/hook.h>
@@ -90,8 +91,8 @@ static gboolean process_traceset(void *hook_data, void *call_data)
       LTTV_POINTER, &value_filter));
 
   *(value_filter.v_pointer) = lttv_filter_new();
-  g_debug("Filter string: %s",((GString*)*(value_expression.v_pointer))->str);
-  
+  //g_debug("Filter string: %s",((GString*)*(value_expression.v_pointer))->str);
+
   lttv_filter_append_expression(*(value_filter.v_pointer),((GString*)*(value_expression.v_pointer))->str);
   
   //lttv_traceset_context_add_hooks(tc,
@@ -207,7 +208,6 @@ static void init()
   lttv_hooks_add(main_hooks, process_traceset, NULL, LTTV_PRIO_DEFAULT);
 }
 
-
 static void destroy()
 {
   guint i, nb;
@@ -241,7 +241,6 @@ static void destroy()
   lttv_traceset_destroy(traceset); 
 }
 
-
 LTTV_MODULE("batchAnalysis", "Batch processing of a trace", \
     "Run through a trace calling all the registered hooks", \
     init, destroy, "state", "stats", "option","textFilter")
This page took 0.042452 seconds and 4 git commands to generate.