create directories branches, tags, trunk
[lttv.git] / ltt / branches / poly / lttv / modules / text / precomputeState.c
index f9c2f31e0a8531dd8f737de8cf82c72d53332a0f..14b207c0d31d2af3232622da323317aab1363987 100644 (file)
@@ -36,9 +36,7 @@
 #include <lttv/print.h>
 #include <ltt/ltt.h>
 #include <ltt/event.h>
-#include <ltt/type.h>
 #include <ltt/trace.h>
-#include <ltt/facility.h>
 #include <stdio.h>
 
 static gboolean
@@ -80,7 +78,8 @@ static gboolean write_traceset_header(void *hook_data, void *call_data)
   /* Print the trace set header */
   if(a_raw) {
   /* TODO : Write a header that will check for ILP size and endianness */
-    fputc(HDR_TRACESET, a_file);
+    //fputc(HDR_TRACESET, a_file);
+    g_assert(lttv_traceset_number(tc->ts) == 1); /* Only one trace in traceset */
   } else  {
     fprintf(a_file,"<TRACESET NUM_TRACES=%d/>\n", 
         lttv_traceset_number(tc->ts));
@@ -276,6 +275,6 @@ static void destroy()
 
 
 LTTV_MODULE("precomputeState", "Precompute states", \
-           "Precompute states in a trace, XML output.", \
+           "Precompute states in a trace, XML or binary output.", \
            init, destroy, "stats", "batchAnalysis", "option", "print")
 
This page took 0.024052 seconds and 4 git commands to generate.