print trace name, some additions to state file save
[lttv.git] / ltt / branches / poly / lttv / lttv / print.c
index ff9116a4c30342d0fdfd9211a1edf37ae7efef5b..ef11b21c5ac2674fb492cb72de33e9dfcf8d651c 100644 (file)
@@ -243,10 +243,12 @@ void lttv_event_to_string(LttEvent *e, GString *s,
 
   if(mandatory_fields) {
     time = ltt_event_time(e);
-    g_string_append_printf(s,"%s.%s: %ld.%09ld (%s_%u)",
+    g_string_append_printf(s,"%s.%s: %ld.%09ld (%s%s_%u)",
         g_quark_to_string(ltt_facility_name(facility)),
         g_quark_to_string(ltt_eventtype_name(event_type)),
         (long)time.tv_sec, time.tv_nsec,
+       g_quark_to_string(
+               ltt_trace_name(ltt_tracefile_get_trace(tfs->parent.tf))),
         g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)),
         cpu);
     /* Print the process id and the state/interrupt type of the process */
This page took 0.022466 seconds and 4 git commands to generate.