#ifdef HAVE_TRACING
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg, instr, "MSG");
+
static xbt_dict_t task_containers = NULL;
static char *TRACE_task_alias_container(m_task_t task, m_process_t process,
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;
}