Lines Matching full:child
101 // If a child process is a clone of a parent process, the
104 // both the parent and child processes.
204 void CopyRegions(ProcessState *parent, ProcessState *child);
1009 void TraceReader<T>::CopyRegions(ProcessState *parent, ProcessState *child)
1014 child->nregions = nregions;
1015 child->max_regions = manager->max_regions;
1017 child->regions = regions;
1175 // event->pid is the process id of the child
1180 // Create a new ProcessState struct for the child
1184 ProcessState *child = new ProcessState;
1185 processes_[event->pid] = child;
1186 child->pid = event->pid;
1187 child->tgid = event->tgid;
1189 // Link the new child at the front of the list (only needed if
1192 child->next = processes_[event->pid];
1193 child->parent_pid = current_->pid;
1194 child->parent = current_;
1195 child->start_time = event->time;
1196 child->name = Strdup(current_->name);
1198 CopyRegions(current_, child);
1201 child->flags |= ProcessState::kIsClone;
1205 // even if the child later clones itself.
1206 child->addr_manager = current_->addr_manager;