update lttctl
[lttv.git] / trunk / lttv / lttv / lttv / state.c
index b9bd1416648d6fc3046c8179fa139aa34f939cf1..d16e13e2efb8847194574148a6e1c48c8e674062 100644 (file)
@@ -49,7 +49,6 @@
 
 GQuark
     LTT_FACILITY_KERNEL,
-    LTT_FACILITY_KERNEL_ARCH,
     LTT_FACILITY_LIST,
     LTT_FACILITY_FS,
     LTT_FACILITY_USER_GENERIC,
@@ -2947,7 +2946,16 @@ 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] "
+            "and inserted 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,
+            child_process->insertion_time.tv_sec,
+            child_process->insertion_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;
@@ -3447,7 +3455,7 @@ void lttv_state_add_event_hooks(LttvTracesetState *self)
         process_fork, NULL, &hooks);
 
     lttv_trace_find_hook(ts->parent.t,
-        LTT_FACILITY_KERNEL_ARCH,
+        LTT_FACILITY_KERNEL,
         LTT_EVENT_KTHREAD_CREATE,
         FIELD_ARRAY(LTT_FIELD_PID),
         process_kernel_thread, NULL, &hooks);
@@ -4191,7 +4199,6 @@ static void module_init()
 
   
   LTT_FACILITY_KERNEL     = g_quark_from_string("kernel");
-  LTT_FACILITY_KERNEL_ARCH = g_quark_from_string("kernel_arch");
   LTT_FACILITY_FS    = g_quark_from_string("fs");
   LTT_FACILITY_LIST = g_quark_from_string("list");
   LTT_FACILITY_USER_GENERIC    = g_quark_from_string("user_generic");
This page took 0.023854 seconds and 4 git commands to generate.