Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] update examples with the new API for setting task category
[simgrid.git] / examples / msg / tracing / procmig.c
index 3c2121a..26a7eff 100644 (file)
@@ -68,7 +68,7 @@ static int master(int argc, char *argv[])
     if (destination){
       MSG_task_set_data(task, xbt_strdup (destination));
     }
-    TRACE_msg_set_task_category(task, "migration_order");
+    MSG_task_set_category(task, "migration_order");
     MSG_task_send (task, "master_mailbox");
     task = NULL;
   }