type = getType ("MSG_TASK_STATE");
pajePushState (MSG_get_clock(), type->id, msg->id, "created");
- //FIXME: pajeEndLink
+ type = getType ("MSG_TASK_LINK");
+ char key[INSTR_DEFAULT_STR_SIZE];
+ snprintf (key, INSTR_DEFAULT_STR_SIZE, "%lld", task->counter);
+ pajeEndLink(MSG_get_clock(), type->id, "0", "SR", msg->id, key);
}
/* MSG_task_put related functions */
type_t type = getType ("MSG_TASK_STATE");
pajePopState (MSG_get_clock(), type->id, msg->id);
- //FIXME: pajeStartLink
+ type = getType ("MSG_TASK_LINK");
+ char key[INSTR_DEFAULT_STR_SIZE];
+ snprintf (key, INSTR_DEFAULT_STR_SIZE, "%lld", task->counter);
+ pajeStartLink(MSG_get_clock(), type->id, "0", "SR", msg->id, key);
destroyContainer (msg);
if (TRACE_msg_task_is_enabled()) {
type_t msg_task = getContainerType ("MSG_TASK", new->type);
getStateType ("MSG_TASK_STATE", msg_task);
+ getLinkType ("MSG_TASK_LINK", rootType, msg_task, msg_task);
}
}