Lines Matching refs:DPRINTF
48 DPRINTF("Before forking process PID=%d\n", getpid());
51 DPRINTF("Before forking process PID=%d\n", getpid());
54 DPRINTF("Parent process PID=%d, child2's PID=%d\n",
60 DPRINTF("Assert that our parent is PID1 (initproc)\n");
63 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
71 DPRINTF("Parent process PID=%d, child1's PID=%d\n", getpid(), child1);
73 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
79 DPRINTF("Notify that child1 is dead\n");
82 DPRINTF("Wait for exiting of child2\n");
116 DPRINTF("Spawn tracee\n");
121 DPRINTF("Stop self PID %d\n", getpid());
130 DPRINTF("Spawn debugger\n");
142 DPRINTF("Await for a stopped parent PID %d\n", tracee);
146 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
169 DPRINTF("Tracee %d exited with %d\n", tracee, exitval_tracee);
171 DPRINTF("Before exiting of the tracer process\n");
176 DPRINTF("Wait for the tracer process (direct child) to exit "
183 DPRINTF("Wait for the non-exited tracee process with %s()\n",
189 DPRINTF("Wait for the tracer to attach to the tracee\n");
192 DPRINTF("Resume the tracee and let it exit\n");
195 DPRINTF("Detect that tracee is zombie\n");
201 DPRINTF("Assert that there is no status about tracee %d - "
208 DPRINTF("Resume the tracer and let it detect exited tracee\n");
211 DPRINTF("Tell the tracer child should have exited\n");
213 DPRINTF("Wait for tracer to finish its job and exit - calling "
216 DPRINTF("Wait from tracer child to complete waiting for "
224 DPRINTF("Wait for tracee to finish its job and exit - calling %s()\n",
270 DPRINTF("Step: %lu\n", N);
279 DPRINTF("Iterations: %lu\n", N);
322 DPRINTF("Spawn tracee\n");
327 DPRINTF("Parent should now attach to tracee\n");
330 DPRINTF("Stop self PID %d\n", getpid());
341 DPRINTF("Await for a stopped tracee PID %d\n", tracee);
345 DPRINTF("Before calling PT_ATTACH for tracee %d\n", tracee);
348 DPRINTF("Wait for the stopped tracee process with %s()\n",
355 DPRINTF("Resume tracee with PT_CONTINUE\n");
358 DPRINTF("Let the tracee exit now\n");
361 DPRINTF("Wait for tracee to exit with %s()\n", TWAIT_FNAME);
367 DPRINTF("Before calling %s() for tracee\n", TWAIT_FNAME);
413 DPRINTF("Spawn tracer\n");
421 DPRINTF("Await for a stopped parent PID %d\n",
426 DPRINTF("Attach to parent PID %d with PT_ATTACH from child\n",
430 DPRINTF("Wait for the stopped parent process with %s()\n",
437 DPRINTF("Resume parent with PT_DETACH\n");
447 DPRINTF("Wait for the tracer to become ready\n");
451 DPRINTF("Stop self PID %d\n", getpid());
455 DPRINTF("Allow the tracer to exit now\n");
458 DPRINTF("Wait for tracer to exit with %s()\n", TWAIT_FNAME);
464 DPRINTF("Before calling %s() for tracer\n", TWAIT_FNAME);
512 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
517 DPRINTF("Before calling %s() for the exited child\n", TWAIT_FNAME);
564 DPRINTF("Spawn tracee\n");
606 DPRINTF("Wait for child to record its parent identifier (pid)\n");
609 DPRINTF("Spawn debugger\n");
613 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
637 DPRINTF("Before exiting of the tracer process\n");
641 DPRINTF("Wait for the tracer to attach to the tracee\n");
644 DPRINTF("Resume the tracee and let it exit\n");
647 DPRINTF("Detect that tracee is zombie\n");
650 DPRINTF("Assert that there is no status about tracee - "
655 DPRINTF("Tell the tracer child should have exited\n");
658 DPRINTF("Wait from tracer child to complete waiting for tracee\n");
664 DPRINTF("Wait for tracee to finish its job and exit - calling %s()\n",