- pajeStartLink(SIMIX_get_clock(), "MPI_LINK", "0", "PTP",
- TRACE_smpi_container(src, str, INSTR_DEFAULT_STR_SIZE), key);
+
+ char str[INSTR_DEFAULT_STR_SIZE];
+ smpi_container(src, str, INSTR_DEFAULT_STR_SIZE);
+ container_t container = getContainer (str);
+ type_t type = getType ("MPI_LINK");
+
+ pajeStartLink(SIMIX_get_clock(), type->id, type->father->id, "PTP", container->id, key);