- container_t process_container = PJ_container_get (instr_process_id(process, str, len));
- simgrid::instr::Type* type = PJ_type_get("MSG_PROCESS_STATE", process_container->type_);
- simgrid::instr::Value* val = simgrid::instr::Value::get("suspend", type);
+ container_t process_container = simgrid::instr::Container::byName(instr_process_id(process, str, len));
+ simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
+ simgrid::instr::Value* val = simgrid::instr::Value::byName("suspend", type);