Home
last modified time | relevance | path

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

/external/strace/tests-mx32/
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_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null || {
[all …]
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_pid_status "$tracee_pid" '^State:.*R (running)' > /dev/null || {
83 grep_pid_status "$tracee_pid" '^State:'
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_pid_status "$tracee_pid" '^State:.*S (sleeping)' > /dev/null || {
84 grep_pid_status "$tracee_pid" '^State:'
Dstrace-ff.test11 tracee_pid=$!
14 kill -0 $tracee_pid 2> /dev/null ||
19 run_strace -a14 -eexit_group -ff -p $tracee_pid
22 match_diff "$LOG.$tracee_pid"
26 [ "$LOG.$tracee_pid" = "$*" ] ||
29 rm -f "$OUT" "$LOG.$tracee_pid"
Dattach-p-cmd.test38 tracee_pid=$!
41 kill -0 $tracee_pid 2> /dev/null ||
45 run_strace -a30 -echdir -p $tracee_pid ./attach-p-cmd-cmd > "$OUT"
Dattach-f-p.test41 tracee_pid=$!
44 kill -0 $tracee_pid 2> /dev/null ||
48 run_strace -a32 -f -echdir -p $tracee_pid ./attach-f-p-cmd > "$OUT"
/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_pid_status "$tracee_pid" '^State:.*T (stopped)' > /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_pid_status "$tracee_pid" '^State:.*S (sleeping)' > /dev/null || {
84 grep_pid_status "$tracee_pid" '^State:'
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_pid_status "$tracee_pid" '^State:.*R (running)' > /dev/null || {
83 grep_pid_status "$tracee_pid" '^State:'
Dstrace-ff.test11 tracee_pid=$!
14 kill -0 $tracee_pid 2> /dev/null ||
19 run_strace -a14 -eexit_group -ff -p $tracee_pid
22 match_diff "$LOG.$tracee_pid"
26 [ "$LOG.$tracee_pid" = "$*" ] ||
29 rm -f "$OUT" "$LOG.$tracee_pid"
Dattach-p-cmd.test38 tracee_pid=$!
41 kill -0 $tracee_pid 2> /dev/null ||
45 run_strace -a30 -echdir -p $tracee_pid ./attach-p-cmd-cmd > "$OUT"
Dattach-f-p.test41 tracee_pid=$!
44 kill -0 $tracee_pid 2> /dev/null ||
48 run_strace -a32 -f -echdir -p $tracee_pid ./attach-f-p-cmd > "$OUT"
/external/strace/tests-m32/
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_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null || {
[all …]
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_pid_status "$tracee_pid" '^State:.*R (running)' > /dev/null || {
83 grep_pid_status "$tracee_pid" '^State:'
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_pid_status "$tracee_pid" '^State:.*S (sleeping)' > /dev/null || {
84 grep_pid_status "$tracee_pid" '^State:'
Dstrace-ff.test11 tracee_pid=$!
14 kill -0 $tracee_pid 2> /dev/null ||
19 run_strace -a14 -eexit_group -ff -p $tracee_pid
22 match_diff "$LOG.$tracee_pid"
26 [ "$LOG.$tracee_pid" = "$*" ] ||
29 rm -f "$OUT" "$LOG.$tracee_pid"
Dattach-p-cmd.test38 tracee_pid=$!
41 kill -0 $tracee_pid 2> /dev/null ||
45 run_strace -a30 -echdir -p $tracee_pid ./attach-p-cmd-cmd > "$OUT"
Dattach-f-p.test41 tracee_pid=$!
44 kill -0 $tracee_pid 2> /dev/null ||
48 run_strace -a32 -f -echdir -p $tracee_pid ./attach-f-p-cmd > "$OUT"
/external/strace/
Dstrace.c1516 int status, tracee_pid; in test_ptrace_seize() local
1519 tracee_pid = waitpid(pid, &status, 0); in test_ptrace_seize()
1520 if (tracee_pid <= 0) { in test_ptrace_seize()
1524 __func__, tracee_pid); in test_ptrace_seize()