Searched refs:mypid (Results 1 - 6 of 6) sorted by relevance
/linux-master/tools/testing/selftests/ftrace/test.d/event/ |
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`
|
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`
|
/linux-master/tools/accounting/ |
H A D | getdelays.c | 284 __u32 mypid; local 406 mypid = getpid(); 415 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, 440 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, 455 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET, 557 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
|
H A D | procacct.c | 266 __u32 mypid; local 331 mypid = getpid(); 340 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, 398 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
|
/linux-master/tools/testing/selftests/x86/ |
H A D | syscall_numbering.c | 229 pid_t mypid = getpid(); local 235 if (ret == mypid) { 242 fail("x32 getpid() returned %lld, but it should have returned either %lld or -ENOSYS\n", ret, (long long)mypid);
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 1452 pid_t mypid, parent; local 1455 mypid = getpid(); 1467 EXPECT_EQ(mypid, syscall(__NR_getpid)); 1472 pid_t mypid, parent; local 1475 mypid = getpid(); 1487 EXPECT_EQ(mypid, syscall(__NR_getpid)); 2036 pid_t tracer, mytid, mypid, parent; local 2155 self->mypid = getpid(); 2156 ASSERT_GT(self->mypid, 0); 2157 ASSERT_EQ(self->mytid, self->mypid); [all...] |
Completed in 122 milliseconds