#ifdef HAVE_TRACING
TRACE_msg_process_create(name, simdata->PID, simdata->m_host);
- #endif
+#endif
/* Let's create the process: SIMIX may decide to start it right now,
* even before returning the flow control to us */
simcall_process_create(&process, name, code, simdata, SIMIX_host_get_name(host->smx_host), -1,
if (!process) {
/* Undo everything we have just changed */
+#ifdef HAVE_TRACING
+ TRACE_msg_process_destroy (name, simdata->PID, simdata->m_host);
+#endif
msg_global->PID--;
xbt_free(simdata);
return NULL;