Home
last modified time | relevance | path

Searched refs:testpid (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/testing/selftests/x86/
Dsyscall_numbering.c352 static void mess_with_syscall(pid_t testpid, enum ptrace_pass pass) in mess_with_syscall() argument
362 ptrace(PTRACE_GETREGS, testpid, NULL, &regs); in mess_with_syscall()
393 ptrace(PTRACE_SETREGS, testpid, NULL, &regs); 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-6.1.9/Documentation/trace/
Dhistogram.rst2039 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"' >> \