Home
last modified time | relevance | path

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

/external/strace/tests/
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/status > /dev/null || {
[all …]
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
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
/external/strace/
Dstrace.c1355 int status, tracee_pid; in test_ptrace_setoptions_followfork() local
1358 tracee_pid = wait(&status); in test_ptrace_setoptions_followfork()
1359 if (tracee_pid <= 0) { in test_ptrace_setoptions_followfork()
1366 __func__, tracee_pid); in test_ptrace_setoptions_followfork()
1370 if (tracee_pid != pid) in test_ptrace_setoptions_followfork()
1378 if (tracee_pid != pid) in test_ptrace_setoptions_followfork()
1384 if (tracee_pid != pid) in test_ptrace_setoptions_followfork()
1385 kill_save_errno(tracee_pid, SIGKILL); in test_ptrace_setoptions_followfork()
1390 if (tracee_pid != pid) { in test_ptrace_setoptions_followfork()
1391 found_grandchild = tracee_pid; in test_ptrace_setoptions_followfork()
[all …]