Home | History | Annotate | Download | only in sys

Lines Matching defs:tracer

356 	pid_t tracee, tracer, wpid;
414 tracer = atf_utils_fork();
415 if (tracer == 0) {
417 tracer = atf_utils_fork();
418 if (tracer != 0)
446 /* Inform parent that tracer has attached to tracee */
447 CHILD_TO_PARENT("tracer ready", parent_tracer, msg);
614 /* Inform parent that tracer is exiting normally */
615 CHILD_TO_PARENT("tracer done", parent_tracer, msg);
617 DPRINTF("Before exiting of the tracer process\n");
621 DPRINTF("Wait for the tracer process (direct child) to exit "
624 wpid = TWAIT_GENERIC(tracer, &status, 0), tracer);
633 DPRINTF("Wait for the tracer to attach to the tracee\n");
634 PARENT_FROM_CHILD("tracer ready", parent_tracer, msg);
639 DPRINTF("Resume the tracer and let it detect crashed tracee\n");
648 DPRINTF("Await normal exit of tracer\n");
649 PARENT_FROM_CHILD("tracer done", parent_tracer, msg);
937 pid_t tracee, tracer, wpid;
988 tracer = atf_utils_fork();
989 if (tracer == 0) {
991 tracer = atf_utils_fork();
992 if (tracer != 0)
1020 /* Inform parent that tracer has attached to tracee */
1021 CHILD_TO_PARENT("tracer ready", parent_tracer, msg);
1143 /* Inform parent that tracer is exiting normally */
1144 CHILD_TO_PARENT("tracer done", parent_tracer, msg);
1146 DPRINTF("Before exiting of the tracer process\n");
1150 DPRINTF("Wait for the tracer process (direct child) to exit "
1153 wpid = TWAIT_GENERIC(tracer, &status, 0), tracer);
1162 DPRINTF("Wait for the tracer to attach to the tracee\n");
1163 PARENT_FROM_CHILD("tracer ready", parent_tracer, msg);
1168 DPRINTF("Resume the tracer and let it detect crashed tracee\n");
1181 DPRINTF("Await normal exit of tracer\n");
1182 PARENT_FROM_CHILD("tracer done", parent_tracer, msg);