update
[lttv.git] / ltt / branches / poly / lttv / lttv / print.c
index f06c527c5a28e8d1346b062a1e4553639f3c6851..ff9116a4c30342d0fdfd9211a1edf37ae7efef5b 100644 (file)
@@ -236,7 +236,7 @@ void lttv_event_to_string(LttEvent *e, GString *s,
 
   guint i, num_fields;
 
-  g_string_set_size(s,0);
+  s = g_string_set_size(s,0);
 
   facility = ltt_event_facility(e);
   event_type = ltt_event_eventtype(e);
@@ -250,8 +250,10 @@ void lttv_event_to_string(LttEvent *e, GString *s,
         g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)),
         cpu);
     /* Print the process id and the state/interrupt type of the process */
-    g_string_append_printf(s,", %u, %s, %u, 0x%llX, %s", process->pid,
+    g_string_append_printf(s,", %u, %u, %s, %s, %u, 0x%llX, %s", process->pid,
+        process->tgid,
         g_quark_to_string(process->name),
+        g_quark_to_string(process->brand),
         process->ppid, process->current_function,
         g_quark_to_string(process->state->t));
   }
This page took 0.023381 seconds and 4 git commands to generate.