seek n forward and backward implemented in trace context
[lttv.git] / ltt / branches / poly / lttv / lttv / state.c
index 8574778a9843d8ecf96fa49427cbff6407da2499..49fdf382c64aeb016e3120fb2a15d793846442cc 100644 (file)
@@ -1276,6 +1276,11 @@ static gboolean process_free(void *hook_data, void *call_data)
   if(likely(process != NULL)) {
     /* release_task is happening at kernel level : we can now safely release
      * the data structure of the process */
+    guint num_cpus = ltt_trace_get_num_cpu(ts->parent.t);
+    guint i;
+    for(i=0; i< num_cpus; i++) {
+      g_assert(process != ts->running_process[i]);
+    }
     exit_process(s, process);
   }
 
This page took 0.02378 seconds and 4 git commands to generate.