Searched refs:mypid (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/tools/testing/selftests/ftrace/test.d/event/ |
D | event-no-pid.tc | 68 read mypid rest < /proc/self/stat 70 echo $mypid > set_event_notrace_pid 71 grep -q $mypid set_event_notrace_pid 79 cnt=`count_pid $mypid` 84 cnt=`count_no_pid $mypid` 91 echo $mypid > set_event_notrace_pid 106 cnt=`count_pid $mypid` 116 cnt=`count_no_pid $mypid`
|
D | event-pid.tc | 33 read mypid rest < /proc/self/stat 35 echo $mypid > set_event_pid 36 grep -q $mypid set_event_pid 41 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l` 48 echo $mypid > set_event_pid 54 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
|
/Linux-v6.1/tools/accounting/ |
D | getdelays.c | 278 __u32 mypid; in main() local 400 mypid = getpid(); in main() 409 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 434 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 449 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET, in main() 551 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
|
D | procacct.c | 267 __u32 mypid; in main() local 336 mypid = getpid(); in main() 345 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 403 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
|
/Linux-v6.1/tools/testing/selftests/x86/ |
D | syscall_numbering.c | 229 pid_t mypid = getpid(); in test_x32() local 235 if (ret == mypid) { in test_x32() 242 …pid() returned %lld, but it should have returned either %lld or -ENOSYS\n", ret, (long long)mypid); in test_x32()
|
/Linux-v6.1/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 1446 pid_t mypid, parent; in TEST_F() local 1449 mypid = getpid(); in TEST_F() 1461 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F() 1466 pid_t mypid, parent; in TEST_F() local 1469 mypid = getpid(); in TEST_F() 1481 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F() 2022 pid_t tracer, mytid, mypid, parent; in FIXTURE() local 2141 self->mypid = getpid(); in FIXTURE_SETUP() 2142 ASSERT_GT(self->mypid, 0); in FIXTURE_SETUP() 2143 ASSERT_EQ(self->mytid, self->mypid); in FIXTURE_SETUP() [all …]
|