]> AND Public Git Repository - simgrid.git/blobdiff - src/msg/msg_gos.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Swig only in maintainer mode
[simgrid.git] / src / msg / msg_gos.c
index b80ae0f7d13c9e6951cce5f25b0936fcae925172..dbf0eac49cda0c4d2c297f03c620b89274125b82 100644 (file)
@@ -430,12 +430,10 @@ msg_comm_t MSG_task_isend_internal(msg_task_t task, const char *alias,
   }
 
 #ifdef HAVE_TRACING
-    if (TRACE_is_enabled()) {
-      simcall_set_category(comm->s_comm, task->category);
-    }
-#endif
+  if (TRACE_is_enabled()) {
+    simcall_set_category(act, task->category);
+  }
 
-#ifdef HAVE_TRACING
   if (call_end)
     TRACE_msg_task_put_end();
 #endif