Home
last modified time | relevance | path

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

/external/strace/tests/
Ddetach-stopped.test53 tracee_pid=$!
54 kill -STOP $tracee_pid
59 kill $tracee_pid
60 kill -CONT $tracee_pid
61 wait $tracee_pid 2> /dev/null
66 $STRACE -p $tracee_pid 2> "$LOG" &
68 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
87 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
94 test -d /proc/$tracee_pid || {
98 grep '^State:.*T (stopped)' < /proc/$tracee_pid/status > /dev/null || {
[all …]
Ddetach-sleeping.test48 tracee_pid=$!
53 kill $tracee_pid
54 wait $tracee_pid 2> /dev/null
59 $STRACE -p $tracee_pid 2> "$LOG" &
61 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
72 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
79 test -d /proc/$tracee_pid || {
83 grep '^State:.*S (sleeping)' < /proc/$tracee_pid/status > /dev/null || {
84 grep '^State:' < /proc/$tracee_pid/status
Ddetach-running.test47 tracee_pid=$!
52 kill $tracee_pid
53 wait $tracee_pid 2> /dev/null
58 $STRACE -p $tracee_pid 2> "$LOG" &
60 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
71 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
78 test -d /proc/$tracee_pid || {
82 grep '^State:.*R (running)' < /proc/$tracee_pid/status > /dev/null || {
83 grep '^State:' < /proc/$tracee_pid/status
/external/strace/
Dstrace.c1385 int status, tracee_pid; in test_ptrace_seize() local
1388 tracee_pid = waitpid(pid, &status, 0); in test_ptrace_seize()
1389 if (tracee_pid <= 0) { in test_ptrace_seize()
1393 __func__, tracee_pid); in test_ptrace_seize()