Searched refs:testpid (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | syscall_numbering.c | 362 ptrace(PTRACE_GETREGS, testpid, NULL, ®s); in mess_with_syscall() 393 ptrace(PTRACE_SETREGS, testpid, NULL, ®s); in mess_with_syscall() 401 pid_t wpid = waitpid(testpid, &wstatus, 0); in syscall_numbering_tracer() 404 if (wpid != testpid) in syscall_numbering_tracer() 414 ptrace(PTRACE_DETACH, testpid, NULL, NULL); in syscall_numbering_tracer() 417 while (waitpid(testpid, &wstatus, 0) != testpid || !WIFEXITED(wstatus)) in syscall_numbering_tracer() 423 pid_t testpid; in test_traced_syscall_numbering() local 426 testpid = fork(); in test_traced_syscall_numbering() 428 if (testpid < 0) { in test_traced_syscall_numbering() 430 } else if (testpid == 0) { in test_traced_syscall_numbering() [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | histogram.rst | 2201 The following hist trigger both defines the missing testpid 2207 # echo 'hist:keys=$testpid:testpid=pid:onmatch(sched.sched_wakeup_new).\ 2208 wakeup_new_test($testpid) if comm=="cyclictest"' >> \ 2213 # echo 'hist:keys=$testpid:testpid=pid:onmatch(sched.sched_wakeup_new).\ 2214 trace(wakeup_new_test,$testpid) if comm=="cyclictest"' >> \
|