Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the fixme.
[simgrid.git] / src / instr / instr_paje.c
index 1bc7133d366429602ea2d556915f6d82391fea69..3c1591c1881f104a3298d2c7e4c1e1e68b974d9f 100644 (file)
@@ -310,7 +310,10 @@ void destroyContainer (container_t container)
   TRACE_paje_dump_buffer(1);
 
   //trace my destruction
-  new_pajeDestroyContainer(container);
+  if (!TRACE_disable_destroy()){
+    //do not trace the container destruction if user requests
+    new_pajeDestroyContainer(container);
+  }
 
   //free
   xbt_free (container->name);