simdata->PPID = -1;
}
+#ifdef HAVE_TRACING
+ TRACE_msg_process_create(name, simdata->PID, simdata->m_host);
+#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(&process, name, code, simdata, host->name,
argc, argv, properties);
-#ifdef HAVE_TRACING
- TRACE_msg_process_create(process);
-#endif
-
if (!process) {
/* Undo everything we have just changed */
msg_global->PID--;