From: Arnaud Giersch Date: Tue, 20 May 2014 08:07:14 +0000 (+0200) Subject: Skip simcall when HAVE_TRACING. X-Git-Tag: v3_11~61 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8115b6b396c220005ab48467d483427a93d90f93 Skip simcall when HAVE_TRACING. And try to keep the same visible behavior with and without tracing. --- diff --git a/src/msg/msg_process.c b/src/msg/msg_process.c index d28d07338c..a14e8828be 100644 --- a/src/msg/msg_process.c +++ b/src/msg/msg_process.c @@ -7,6 +7,7 @@ #include "msg_private.h" #include "xbt/sysdep.h" #include "xbt/log.h" +#include "simix/smx_process_private.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_process, msg, "Logging specific to MSG (process)"); @@ -172,7 +173,7 @@ msg_process_t MSG_process_create_with_environment(const char *name, argc, argv, properties,0); #ifdef HAVE_TRACING - TRACE_msg_process_create(name, simcall_process_get_PID(process), host); + TRACE_msg_process_create(name, SIMIX_process_get_PID(process), host); #endif if (!process) {