- TRACE_msg_process_create(process->getName(), process->pid, process->host);
- /* Note by cheinrich: If you move this directly after the "new ActorImpl", the pid
- * will not yet be set and you will cause issues when other code relies on that.
- * This is of course also true for the other properties, so I moved this here.
- */
+ if (TRACE_actor_is_enabled())
+ simgrid::instr::Container::byName(process->host->get_name())->createChild(instr_pid(process->ciface()), "ACTOR");
+ /* The onCreation() signal must be delayed until there, where the pid and everything is set */