stats major rework, with addition of function support
[lttv.git] / ltt / branches / poly / lttv / lttv / print.c
index 50c7c67473dbcb9560950892d83633b296a1f731..812ecef5409f652cf1c6b9ef1813070da11f16d2 100644 (file)
@@ -161,7 +161,7 @@ void lttv_event_to_string(LttEvent *e, GString *s,
 
   LttTime time;
 
-  guint cpu = ltt_tracefile_num(tfs->parent.tf);
+  guint cpu = tfs->cpu;
   LttvTraceState *ts = (LttvTraceState*)tfs->parent.t_context;
   LttvProcessState *process = ts->running_process[cpu];
 
@@ -183,8 +183,8 @@ 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, %u,  %s", process->pid,
-                   process->ppid,
+    g_string_append_printf(s,", %u, %u, 0x%llX, %s", process->pid,
+                   process->ppid, process->current_function,
                    g_quark_to_string(process->state->t));
   }
   event_type = ltt_event_eventtype(e);
This page took 0.023529 seconds and 4 git commands to generate.