Home
last modified time | relevance | path

Searched refs:mypid (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/event/
Devent-no-pid.tc68 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`
Devent-pid.tc33 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`
/kernel/linux/linux-5.10/tools/accounting/
Dgetdelays.c267 __u32 mypid; in main() local
390 mypid = getpid(); in main()
399 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
424 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
439 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET, in main()
543 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1435 pid_t mypid, parent; in TEST_F() local
1438 mypid = getpid(); in TEST_F()
1450 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F()
1455 pid_t mypid, parent; in TEST_F() local
1458 mypid = getpid(); in TEST_F()
1470 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F()
1996 pid_t tracer, mytid, mypid, parent; in FIXTURE() local
2110 self->mypid = getpid(); in FIXTURE_SETUP()
2111 ASSERT_GT(self->mypid, 0); in FIXTURE_SETUP()
2112 ASSERT_EQ(self->mytid, self->mypid); in FIXTURE_SETUP()
[all …]