Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : really (?) fix SIMCALL_MUTEX_LOCK and UNLOCK with MC
[simgrid.git] / src / mc / mc_checkpoint.c
index 8680749e64830a13e11b0a0a95505dfe2a193792..38f64893db07db4c09deed505f97ac8df0f4619f 100644 (file)
@@ -632,6 +632,10 @@ static void MC_get_current_fd(mc_snapshot_t snapshot){
     if (strncmp(link, "pipe:", 5) == 0 || strncmp(link, "socket:", 7) == 0)
       continue;
 
     if (strncmp(link, "pipe:", 5) == 0 || strncmp(link, "socket:", 7) == 0)
       continue;
 
+    // If dot_output enabled, do not handle the corresponding file
+    if (dot_output !=  NULL && strcmp(basename(link), _sg_mc_dot_output_file) == 0)
+      continue;
+
     // This is probably a shared memory used by lttng-ust:
     if(strncmp("/dev/shm/ust-shm-tmp-", link, 21)==0)
       continue;
     // This is probably a shared memory used by lttng-ust:
     if(strncmp("/dev/shm/ust-shm-tmp-", link, 21)==0)
       continue;