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;
}