Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / src / msg / msg_gos.c
index 682da5b..a883deb 100644 (file)
@@ -321,7 +321,7 @@ XBT_INLINE msg_comm_t MSG_task_isend_with_matching(msg_task_t task, const char *
   t_simdata->comm = comm->s_comm; /* FIXME: is the field t_simdata->comm still useful? */
 #ifdef HAVE_TRACING
     if (TRACE_is_enabled()) {
-      simcall_set_category(comm, task->category);
+      simcall_set_category(comm->s_comm, task->category);
     }
 #endif
 
@@ -664,7 +664,7 @@ msg_task_t MSG_comm_get_task(msg_comm_t comm)
 }
 
 /**
- * \brief This function is called by SIMIX to copy the data of a comm.
+ * \brief This function is called by SIMIX in kernel mode to copy the data of a comm.
  * \param comm the comm
  * \param buff the data copied
  * \param buff_size size of the buffer