From: compudj Date: Thu, 6 Nov 2008 05:51:56 +0000 (+0000) Subject: add debug to state.c X-Git-Tag: v0.12.20~345 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=14520a31e31051ccc94f3489a5baaa24257e528b;p=lttv.git add debug to state.c git-svn-id: http://ltt.polymtl.ca/svn@3144 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/trunk/lttv/lttv/lttv/state.c b/trunk/lttv/lttv/lttv/state.c index a5197618..d16e13e2 100644 --- a/trunk/lttv/lttv/lttv/state.c +++ b/trunk/lttv/lttv/lttv/state.c @@ -2946,12 +2946,15 @@ static gboolean process_fork(void *hook_data, void *call_data) * * Simply put a correct parent. */ - g_error("Process %u has been created at [%lu.%09lu] before \n" + 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 */