Home
last modified time | relevance | path

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

/external/strace/tests-m32/
Ddetach-stopped.test54 tracee_pid=$!
55 kill -STOP $tracee_pid
60 kill $tracee_pid
61 kill -CONT $tracee_pid
62 wait $tracee_pid 2> /dev/null
67 $STRACE -p $tracee_pid 2> "$LOG" &
69 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
88 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
95 test -d /proc/$tracee_pid || {
99 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
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:.*S (sleeping)' > /dev/null || {
83 grep_pid_status "$tracee_pid" '^State:'
Ddetach-running.test48 tracee_pid=$!
53 kill $tracee_pid
54 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 ||
18 run_strace -a14 -eexit_group -ff -p $tracee_pid
21 match_diff "$LOG.$tracee_pid"
25 [ "$LOG.$tracee_pid" = "$*" ] ||
Dattach-p-cmd.test37 tracee_pid=$!
40 kill -0 $tracee_pid 2> /dev/null ||
44 run_strace -a30 -echdir -p $tracee_pid ../attach-p-cmd-cmd > "$EXP"
Dattach-f-p.test38 tracee_pid=$!
41 kill -0 $tracee_pid 2> /dev/null ||
45 run_strace -a32 -f -echdir -p $tracee_pid ../attach-f-p-cmd > "$EXP"
/external/strace/tests/
Ddetach-stopped.test54 tracee_pid=$!
55 kill -STOP $tracee_pid
60 kill $tracee_pid
61 kill -CONT $tracee_pid
62 wait $tracee_pid 2> /dev/null
67 $STRACE -p $tracee_pid 2> "$LOG" &
69 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
88 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
95 test -d /proc/$tracee_pid || {
99 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
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:.*S (sleeping)' > /dev/null || {
83 grep_pid_status "$tracee_pid" '^State:'
Ddetach-running.test48 tracee_pid=$!
53 kill $tracee_pid
54 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 ||
18 run_strace -a14 -eexit_group -ff -p $tracee_pid
21 match_diff "$LOG.$tracee_pid"
25 [ "$LOG.$tracee_pid" = "$*" ] ||
Dattach-p-cmd.test37 tracee_pid=$!
40 kill -0 $tracee_pid 2> /dev/null ||
44 run_strace -a30 -echdir -p $tracee_pid ../attach-p-cmd-cmd > "$EXP"
Dattach-f-p.test38 tracee_pid=$!
41 kill -0 $tracee_pid 2> /dev/null ||
45 run_strace -a32 -f -echdir -p $tracee_pid ../attach-f-p-cmd > "$EXP"
/external/strace/tests-mx32/
Ddetach-stopped.test54 tracee_pid=$!
55 kill -STOP $tracee_pid
60 kill $tracee_pid
61 kill -CONT $tracee_pid
62 wait $tracee_pid 2> /dev/null
67 $STRACE -p $tracee_pid 2> "$LOG" &
69 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
88 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
95 test -d /proc/$tracee_pid || {
99 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
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:.*S (sleeping)' > /dev/null || {
83 grep_pid_status "$tracee_pid" '^State:'
Ddetach-running.test48 tracee_pid=$!
53 kill $tracee_pid
54 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 ||
18 run_strace -a14 -eexit_group -ff -p $tracee_pid
21 match_diff "$LOG.$tracee_pid"
25 [ "$LOG.$tracee_pid" = "$*" ] ||
Dattach-p-cmd.test37 tracee_pid=$!
40 kill -0 $tracee_pid 2> /dev/null ||
44 run_strace -a30 -echdir -p $tracee_pid ../attach-p-cmd-cmd > "$EXP"
Dattach-f-p.test38 tracee_pid=$!
41 kill -0 $tracee_pid 2> /dev/null ||
45 run_strace -a32 -f -echdir -p $tracee_pid ../attach-f-p-cmd > "$EXP"
/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 tracee_pid); in test_ptrace_seize()