From 4b5885b1c1936dd00e1af224807cb51bba010d6d Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 6 Nov 2008 05:47:02 +0000 Subject: [PATCH] add debug to state.c git-svn-id: http://ltt.polymtl.ca/svn@3143 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/lttv/lttv/state.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/trunk/lttv/lttv/lttv/state.c b/trunk/lttv/lttv/lttv/state.c index ffbca79d..a5197618 100644 --- a/trunk/lttv/lttv/lttv/state.c +++ b/trunk/lttv/lttv/lttv/state.c @@ -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; -- 2.34.1