Searched refs:tracee_pid (Results 1 - 4 of 4) sorted by relevance

/external/strace/tests/
H A Ddetach-stopped.test21 tracee_pid=$!
22 kill -STOP $tracee_pid
27 kill $tracee_pid
28 kill -CONT $tracee_pid
29 wait $tracee_pid 2> /dev/null
33 $STRACE -p $tracee_pid 2> $LOG &
35 while ! grep -F "Process $tracee_pid attached" $LOG > /dev/null; do
50 grep -F "Process $tracee_pid detached" $LOG > /dev/null ||
55 test -d /proc/$tracee_pid ||
57 grep '^State:.*T (stopped)' < /proc/$tracee_pid/statu
[all...]
H A Ddetach-running.test20 tracee_pid=$!
25 kill $tracee_pid
26 wait $tracee_pid 2> /dev/null
30 $STRACE -p $tracee_pid 2> $LOG &
32 while ! grep -F "Process $tracee_pid attached" $LOG > /dev/null; do
41 grep -F "Process $tracee_pid detached" $LOG > /dev/null ||
46 test -d /proc/$tracee_pid ||
48 grep '^State:.*R (running)' < /proc/$tracee_pid/status > /dev/null || {
50 grep '^State:' < /proc/$tracee_pid/status
H A Ddetach-sleeping.test21 tracee_pid=$!
26 kill $tracee_pid
27 wait $tracee_pid 2> /dev/null
31 $STRACE -p $tracee_pid 2> $LOG &
33 while ! grep -F "Process $tracee_pid attached" $LOG > /dev/null; do
42 grep -F "Process $tracee_pid detached" $LOG > /dev/null ||
47 test -d /proc/$tracee_pid ||
49 grep '^State:.*S (sleeping)' < /proc/$tracee_pid/status > /dev/null || {
51 grep '^State:' < /proc/$tracee_pid/status
/external/strace/
H A Dstrace.c1355 int status, tracee_pid; local
1358 tracee_pid = wait(&status);
1359 if (tracee_pid <= 0) {
1366 __func__, tracee_pid);
1370 if (tracee_pid != pid)
1378 if (tracee_pid != pid)
1384 if (tracee_pid != pid)
1385 kill_save_errno(tracee_pid, SIGKILL);
1390 if (tracee_pid != pid) {
1391 found_grandchild = tracee_pid;
1475 int status, tracee_pid; local
1570 int status, tracee_pid; local
[all...]

Completed in 70 milliseconds