From b59b7222ab4676f3afac9614c52d26ab5e555016 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 7 Dec 2006 23:11:59 +0000 Subject: [PATCH] fix unknown mode elapsed time git-svn-id: http://ltt.polymtl.ca/svn@2297 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 +- ltt/branches/poly/lttv/lttv/state.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 03a2c4b9..e04a6fd0 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.73-07122006) +AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.74-07122006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 1be0ce21..b4e5efe3 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -2444,7 +2444,8 @@ static void fix_process(gpointer key, gpointer value, //g_assert(timestamp->tv_sec != 0); es->change = *timestamp; es->cum_cpu_time = ltt_time_zero; - //es->s = LTTV_STATE_WAIT; + if(es->s == LTTV_STATE_WAIT_FORK) + es->s = LTTV_STATE_WAIT; } } } -- 2.34.1