From: compudj Date: Mon, 22 Aug 2005 22:14:47 +0000 (+0000) Subject: disable schedchange test : not meaningful if there is missing information X-Git-Tag: v0.12.20~2438 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=240f1fea85e0ab8539223111e2f25aace69f574a;p=lttv.git disable schedchange test : not meaningful if there is missing information git-svn-id: http://ltt.polymtl.ca/svn@1051 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 30039298..5b3fcf38 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -1079,9 +1079,11 @@ static gboolean schedchange(void *hook_data, void *call_data) is missing. It is not obvious how we could, after the fact, compensate the wrongly attributed statistics. */ - if(unlikely(s->process->pid != pid_out)) { - g_assert(s->process->pid == 0); - } + //This test only makes sense once the state is known and if there is no + //missing events. + //if(unlikely(s->process->pid != pid_out)) { + // g_assert(s->process->pid == 0); + //} if(unlikely(s->process->state->s == LTTV_STATE_EXIT)) { s->process->state->s = LTTV_STATE_ZOMBIE;