Searched refs:testpid (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/kselftest_harness/ |
H A D | harness-selftest.c | 49 pid_t testpid; in FIXTURE() local 54 self->testpid = getpid(); in FIXTURE_SETUP() 58 TH_LOG("teardown same-process=%d", self->testpid == getpid()); in FIXTURE_TEARDOWN() 83 pid_t testpid; in FIXTURE() local 88 self->testpid = getpid(); in FIXTURE_SETUP() 92 TH_LOG("teardown same-process=%d", self->testpid == getpid()); in FIXTURE_TEARDOWN_PARENT() 102 pid_t testpid; in FIXTURE() local 107 self->testpid = getpid(); in FIXTURE_SETUP() 112 TH_LOG("teardown same-process=%d", self->testpid == getpid()); in FIXTURE_TEARDOWN()
|
/linux/tools/testing/selftests/x86/ |
H A D | syscall_numbering.c | 353 static void mess_with_syscall(pid_t testpid, enum ptrace_pass pass) in mess_with_syscall() argument 363 ptrace(PTRACE_GETREGS, testpid, NULL, ®s); in mess_with_syscall() 394 ptrace(PTRACE_SETREGS, testpid, NULL, ®s); in mess_with_syscall() 397 static void syscall_numbering_tracer(pid_t testpid) in syscall_numbering_tracer() argument 402 pid_t wpid = waitpid(testpid, &wstatus, 0); in syscall_numbering_tracer() 405 if (wpid != testpid) in syscall_numbering_tracer() 411 mess_with_syscall(testpid, sh->ptrace_pass); in syscall_numbering_tracer() 413 !ptrace(PTRACE_SYSCALL, testpid, NULL, NULL)); in syscall_numbering_tracer() 415 ptrace(PTRACE_DETACH, testpid, NULL, NULL); in syscall_numbering_tracer() 418 while (waitpid(testpid, in syscall_numbering_tracer() 424 pid_t testpid; test_traced_syscall_numbering() local [all...] |
/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"' >> \
|