- DEBUG2("MARK %s %s", mark_type, mark_value);
- pajeNewEvent(MSG_get_clock(), mark_type, "0", mark_value);
+ XBT_DEBUG("MARK %s %s", mark_type, mark_value);
+ type_t type = getEventType (mark_type, NULL, getRootContainer()->type);
+ val_t value = getValue (mark_value, NULL, type);
+ new_pajeNewEvent (MSG_get_clock(), getRootContainer(), type, value);