Home
last modified time | relevance | path

Searched refs:test_pid (Results 1 – 3 of 3) sorted by relevance

/external/bcc/tests/python/
Dtest_uprobes.py31 test_pid = os.getpid()
32 text = text.replace("PID", "%d" % test_pid)
34 b.attach_uprobe(name="c", sym="malloc_stats", fn_name="count", pid=test_pid)
35 b.attach_uretprobe(name="c", sym="malloc_stats", fn_name="count", pid=test_pid)
41 b.detach_uretprobe(name="c", sym="malloc_stats", pid=test_pid)
42 b.detach_uprobe(name="c", sym="malloc_stats", pid=test_pid)
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/
Dcpuset_memory_spread_testset.sh201 local test_pid="$5"
217 /bin/echo "$test_pid" > "$cpusetpath/tasks" 2> $CPUSET_TMP/stderr
234 /bin/kill -s SIGUSR1 $test_pid
/external/ltp/lib/
Dtst_test.c1123 static pid_t test_pid; variable
1137 kill(-test_pid, SIGKILL); in alarm_handler()
1156 if (test_pid > 0) { in sigint_handler()
1158 kill(-test_pid, SIGKILL); in sigint_handler()
1236 test_pid = fork(); in fork_testrun()
1237 if (test_pid < 0) in fork_testrun()
1240 if (!test_pid) { in fork_testrun()
1248 SAFE_WAITPID(test_pid, &status, 0); in fork_testrun()