Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/x86/
H A Dsyscall_numbering.c363 ptrace(PTRACE_GETREGS, testpid, NULL, &regs); in mess_with_syscall()
394 ptrace(PTRACE_SETREGS, testpid, NULL, &regs); in mess_with_syscall()
402 pid_t wpid = waitpid(testpid, &wstatus, 0); in syscall_numbering_tracer()
405 if (wpid != testpid) in syscall_numbering_tracer()
415 ptrace(PTRACE_DETACH, testpid, NULL, NULL); in syscall_numbering_tracer()
418 while (waitpid(testpid, &wstatus, 0) != testpid || !WIFEXITED(wstatus)) in syscall_numbering_tracer()
424 pid_t testpid; in test_traced_syscall_numbering() local
427 testpid = fork(); in test_traced_syscall_numbering()
429 if (testpid < 0) { in test_traced_syscall_numbering()
431 } else if (testpid == 0) { in test_traced_syscall_numbering()
[all …]
/linux-6.15/Documentation/trace/
H A Dhistogram.rst2201 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"' >> \