From 1d7a1974cb78c7346d819b6438818f89190330db Mon Sep 17 00:00:00 2001 From: schnorr Date: Mon, 3 Jan 2011 14:49:15 +0000 Subject: [PATCH] [trace] dump *before* destroy container, correct trace file details: - unconditional dump when any container is destroyed - this is needed in order to create a consistent trace for process migration and task gantt-chart git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9346 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/instr/instr_paje.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/instr/instr_paje.c b/src/instr/instr_paje.c index 33ea5c85c5..330eb55600 100644 --- a/src/instr/instr_paje.c +++ b/src/instr/instr_paje.c @@ -266,13 +266,13 @@ void destroyContainer (container_t container) DEBUG1("destroy container %s", container->name); - //trace my destruction - new_pajeDestroyContainer(container); - //obligation to dump previous events because they might //reference the container that is about to be destroyed TRACE_last_timestamp_to_dump = surf_get_clock(); - TRACE_paje_dump_buffer(0); + TRACE_paje_dump_buffer(1); + + //trace my destruction + new_pajeDestroyContainer(container); //free xbt_free (container->name); -- 2.20.1