GQuark
LTT_FACILITY_KERNEL,
- LTT_FACILITY_KERNEL_ARCH,
LTT_FACILITY_LIST,
LTT_FACILITY_FS,
LTT_FACILITY_USER_GENERIC,
*
* 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;
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);
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");