change fac/ev names
[lttv.git] / ltt / branches / poly / lttv / modules / text / textDump.c
index 37dcf7d31997b7a873523340597335f9b08b5348..ba802d225f331815515eadb9c5f1f42c0bce348e 100644 (file)
@@ -336,13 +336,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;
 }
@@ -371,7 +372,7 @@ static void init()
       LTTV_OPT_NONE, &a_field_names, NULL, NULL);
 
   a_state = FALSE;
-  lttv_option_add("process_state", 's', 
+  lttv_option_add("process_state", 'r', 
       "write the pid and state for each event", 
       "", 
       LTTV_OPT_NONE, &a_state, NULL, NULL);
This page took 0.022955 seconds and 4 git commands to generate.