Searched refs:testpid (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/tools/testing/selftests/x86/ |
D | syscall_numbering.c | 352 static void mess_with_syscall(pid_t testpid, enum ptrace_pass pass) in mess_with_syscall() argument 362 ptrace(PTRACE_GETREGS, testpid, NULL, ®s); in mess_with_syscall() 393 ptrace(PTRACE_SETREGS, testpid, NULL, ®s); in mess_with_syscall() 396 static void syscall_numbering_tracer(pid_t testpid) in syscall_numbering_tracer() argument 401 pid_t wpid = waitpid(testpid, &wstatus, 0); in syscall_numbering_tracer() 404 if (wpid != testpid) in syscall_numbering_tracer() 410 mess_with_syscall(testpid, sh->ptrace_pass); in syscall_numbering_tracer() 412 !ptrace(PTRACE_SYSCALL, testpid, NULL, NULL)); 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() [all …]
|
/linux-5.19.10/Documentation/trace/ |
D | histogram.rst | 2039 The following hist trigger both defines the missing testpid 2045 # echo 'hist:keys=$testpid:testpid=pid:onmatch(sched.sched_wakeup_new).\ 2046 wakeup_new_test($testpid) if comm=="cyclictest"' >> \ 2051 # echo 'hist:keys=$testpid:testpid=pid:onmatch(sched.sched_wakeup_new).\ 2052 trace(wakeup_new_test,$testpid) if comm=="cyclictest"' >> \
|