Home | History | Annotate | Download | only in daemon

Lines Matching refs:child

89 struct child {
98 static struct child * children;
205 static void create_context(struct child * self)
225 static void write_pmu(struct child * self)
281 static void load_context(struct child * self)
297 static void notify_parent(struct child * self, size_t cpu)
305 perror("Failed to write child pipe:");
311 static struct child * inner_child;
319 struct child * self = &children[cpu];
378 static void wait_for_child(struct child * child)
383 ret = read(child->up_pipe[0], &tmp, sizeof(size_t));
387 perror("Failed to read child pipe");
391 printf("Perfmon child up on CPU%d\n", (int)tmp);
394 close(child->up_pipe[0]);
397 static struct child* xen_ctx;
408 xen_ctx = xmalloc(sizeof(struct child));
433 children = xmalloc(sizeof(struct child) * nr_cpus);
434 bzero(children, sizeof(struct child) * nr_cpus);
440 perror("Couldn't create child pipe");
446 perror("Couldn't fork perfmon child");