From 0edee38af85b74df2429d3145124fae111620adf Mon Sep 17 00:00:00 2001 From: schnorr Date: Mon, 7 Feb 2011 15:26:59 +0000 Subject: [PATCH] [trace] process container creation must be before simix request git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9588 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/msg/m_process.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/msg/m_process.c b/src/msg/m_process.c index 3dfb68416c..17904de6a9 100644 --- a/src/msg/m_process.c +++ b/src/msg/m_process.c @@ -177,6 +177,10 @@ m_process_t MSG_process_create_with_environment(const char *name, process->data = data; xbt_swag_insert(process, msg_global->process_list); +#ifdef HAVE_TRACING + TRACE_msg_process_create (process); +#endif + /* Let's create the process: SIMIX may decide to start it right now, * even before returning the flow control to us */ SIMIX_req_process_create(&simdata->s_process, name, code, (void *) process, host->name, @@ -192,10 +196,6 @@ m_process_t MSG_process_create_with_environment(const char *name, return NULL; } -#ifdef HAVE_TRACING - TRACE_msg_process_create (process); -#endif - return process; } -- 2.20.1