add debug to state.c
[lttv.git] / trunk / lttv / lttv / lttv / state.c
index ffbca79d610b72a89734126a5e3a3c47d9b5e362..a519761869c2609834c910567f79063d79b1efa4 100644 (file)
@@ -2946,7 +2946,13 @@ static gboolean process_fork(void *hook_data, void *call_data)
      *
      * Simply put a correct parent.
      */
-    g_error("Process %u has been created before fork on cpu %u. Probably an unsynchronized TSC problem on the traced machine.", child_pid, cpu);
+    g_error("Process %u has been created at [%lu.%09lu] before \n"
+            "fork on cpu %u[%lu.%09lu].\n"
+            "Probably an unsynchronized TSC problem on the traced machine.",
+            child_pid,
+            child_process->creation_time.tv_sec,
+            child_process->creation_time.tv_nsec,
+            cpu, ltt_event_time(e).tv_sec, ltt_event_time(e).tv_nsec);
     //g_assert(0); /* This is a problematic case : the process has been created
     //                before the fork event */
     child_process->ppid = process->pid;
This page took 0.0235 seconds and 4 git commands to generate.