Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill all aspects related to masks in the tracing interface
[simgrid.git] / src / msg / global.c
index d711b68..7933918 100644 (file)
@@ -48,6 +48,10 @@ XBT_LOG_EXTERNAL_CATEGORY(msg_process);
  */
 void MSG_global_init(int *argc, char **argv)
 {
+#ifdef HAVE_TRACING
+  TRACE_global_init (argc, argv);
+#endif
+
   xbt_getpid = MSG_process_self_PID;
   if (!msg_global) {
     /* Connect our log channels: that must be done manually under windows */
@@ -140,9 +144,11 @@ MSG_error_t MSG_main(void)
   fflush(stderr);
   SIMIX_init();
 
+#ifdef HAVE_MC
   if (_surf_do_model_check)
     MC_modelcheck(1);
   else
+#endif
     while (SIMIX_solve(NULL, NULL) != -1.0);
   
   return MSG_OK;