debug update
[lttv.git] / ltt / branches / poly / lttv / modules / text / textDump.c
index ea689e2e217b6831921b453ccb1e6b2b3a3a45e4..395b996ed2be7d371f9641ffcf18c4405f927028 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
@@ -336,13 +334,14 @@ static int write_event_content(void *hook_data, void *call_data)
       return FALSE;
   
   lttv_event_to_string(e, a_string, TRUE, a_field_names, tfs);
-  g_string_append_printf(a_string,"\n");  
 
   if(a_state) {
     g_string_append_printf(a_string, " %s ",
         g_quark_to_string(process->state->s));
   }
 
+  g_string_append_printf(a_string,"\n");  
+
   fputs(a_string->str, a_file);
   return FALSE;
 }
This page took 0.023285 seconds and 4 git commands to generate.