disable schedchange test : not meaningful if there is missing information
[lttv.git] / ltt / branches / poly / lttv / lttv / state.c
index 30039298e5462a7e6f9a4dccff7f39971e0abee2..5b3fcf38a110ae9d22d8e24a324321ab7292c522 100644 (file)
@@ -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;
This page took 0.02768 seconds and 4 git commands to generate.