}
}
-void TRACE_msg_category_set(smx_process_t proc, m_task_t task)
-{
- TRACE_category_set(proc, task->category);
-}
-
-
#endif /* HAVE_TRACING */
if (TRACE_msg_task_is_enabled())
pajePushState(MSG_get_clock(), "task-state", name, "execute");
- TRACE_msg_category_set(SIMIX_process_self(), task);
+ TRACE_category_set(SIMIX_process_self(), task->category);
}
void TRACE_msg_task_execute_end(m_task_t task)
TRACE_task_location_not_present(task);
//set current category
- TRACE_msg_category_set(SIMIX_process_self(), task);
+ TRACE_category_set(SIMIX_process_self(), task->category);
return 1;
}
void TRACE_category_set(smx_process_t proc, const char *category);
char *TRACE_category_get(smx_process_t proc);
void TRACE_category_unset(smx_process_t proc);
-void TRACE_msg_category_set(smx_process_t proc, m_task_t task);
/* declaration of instrumentation functions from msg_task_instr.c */
char *TRACE_task_container(m_task_t task, char *output, int len);