Searched refs:mypid (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/ftrace/test.d/event/ |
H A 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`
|
H A 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/tools/accounting/ |
H A D | getdelays.c | 334 __u32 mypid; in main() local 456 mypid = getpid(); in main() 465 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 490 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 505 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET, in main() 607 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
|
H A D | procacct.c | 266 __u32 mypid; in main() local 330 mypid = getpid(); in main() 339 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 397 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
|
/linux/tools/testing/selftests/x86/ |
H A D | syscall_numbering.c | 230 pid_t mypid = getpid(); in test_x32() local 236 if (ret == mypid) { in test_x32() 243 fail("x32 getpid() returned %lld, but it should have returned either %lld or -ENOSYS\n", ret, (long long)mypid); in test_x32()
|
/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 1465 pid_t mypid, parent; in TEST_F() local 1468 mypid = getpid(); in TEST_F() 1480 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F() 1485 pid_t mypid, parent; in TEST_F() local 1488 mypid = getpid(); in TEST_F() 1500 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F() 2043 pid_t tracer, mytid, mypid, parent; in FIXTURE() local 2162 self->mypid = getpid(); in FIXTURE_SETUP() 2163 ASSERT_GT(self->mypid, 0); in FIXTURE_SETUP() 2164 ASSERT_EQ(self->mytid, self->mypid); in FIXTURE_SETUP() [all...] |