add debug to state.c
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 6 Nov 2008 05:47:02 +0000 (05:47 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 6 Nov 2008 05:47:02 +0000 (05:47 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3143 04897980-b3bd-0310-b5e0-8ef037075253

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.025568 seconds and 4 git commands to generate.