Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 25 of 74) sorted by relevance

123

/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs0619 [ -n "$pids" ] && kill -9 $pids
28 local pids
31 pids="$pids $!"
35 tst_res TINFO "waiting for pids:$pids"
36 for p in $pids; do
40 pids=
/external/libvpx/libvpx/test/
Dstress.sh82 local pids=""
97 pids="${pids} $!"
107 pids="${pids} $!"
122 pids="${pids} $!"
128 pids="${pids} $!"
133 for job in "${pids}"; do
/external/ltp/runtest/
Dcontrollers357 pids_1_1 pids.sh 1 1 0
358 pids_1_2 pids.sh 1 2 0
359 pids_1_10 pids.sh 1 10 0
360 pids_1_50 pids.sh 1 50 0
361 pids_1_100 pids.sh 1 100 0
362 pids_2_1 pids.sh 2 1 0
363 pids_2_2 pids.sh 2 2 0
364 pids_2_10 pids.sh 2 10 0
365 pids_2_50 pids.sh 2 50 0
366 pids_2_100 pids.sh 2 100 0
[all …]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dparsed_trace_events.py52 self.pids = None
68 if self.pids:
69 return self.pids
70 pids = set()
73 pids.add(e["pid"])
74 self.pids = list(pids)
75 return self.pids
/external/ltp/testcases/kernel/containers/pidns/
Dpidns05.c83 int find_cinit_pids(pid_t * pids) in find_cinit_pids() argument
99 pids[next] = i; in find_cinit_pids()
156 pid_t pids[MAX_DEPTH]; in kill_nested_containers() local
159 orig_count = find_cinit_pids(pids); in kill_nested_containers()
160 kill(pids[MAX_DEPTH - 3], SIGKILL); in kill_nested_containers()
171 if (pids[i] != pids_new[i]) in kill_nested_containers()
180 "the container %d", pids[MAX_DEPTH - 3]); in kill_nested_containers()
184 kill(pids[i], SIGKILL); in kill_nested_containers()
185 waitpid(pids[i], &status, 0); in kill_nested_containers()
/external/ltp/testcases/kernel/syscalls/cma/
Dprocess_vm_readv02.c40 static pid_t pids[2]; variable
62 pids[0] = fork(); in main()
63 switch (pids[0]) { in main()
71 pids[1] = fork(); in main()
72 switch (pids[1]) { in main()
81 SAFE_WAITPID(cleanup, pids[1], &status, 0); in main()
88 SAFE_WAITPID(cleanup, pids[0], &status, 0); in main()
137 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], in child_invoke()
Dprocess_vm_writev02.c50 static pid_t pids[2]; variable
72 pids[0] = fork(); in main()
73 switch (pids[0]) { in main()
83 pids[1] = fork(); in main()
84 switch (pids[1]) { in main()
94 SAFE_WAITPID(cleanup, pids[1], &status, 0); in main()
101 SAFE_WAITPID(cleanup, pids[0], &status, 0); in main()
174 TEST(ltp_syscall(__NR_process_vm_writev, pids[0], &local, in child_write()
Dprocess_vm_readv03.c53 static pid_t pids[2]; variable
81 pids[0] = fork(); in main()
82 switch (pids[0]) { in main()
90 pids[1] = fork(); in main()
91 switch (pids[1]) { in main()
100 SAFE_WAITPID(cleanup, pids[1], &status, 0); in main()
107 SAFE_WAITPID(cleanup, pids[0], &status, 0); in main()
183 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], &local, in fetch_remote_addrs()
216 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], local, NUM_LOCAL_VECS, in child_invoke()
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh73 exist=`grep -w pids /proc/cgroups | cut -f1`;
78 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
89 ROD mount -t cgroup -o pids none $mount_point
152 ROD echo $max \> $testpath/pids.max
175 ROD echo $lim \> $testpath/pids.max
196 ROD echo 0 \> $testpath/pids.max
208 echo -1 > $testpath/pids.max
223 ROD echo $lim \> $testpath/pids.max
249 ROD echo $max \> $testpath/pids.max
291 ROD echo $max \> $testpath/pids.max
[all …]
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake03.c75 pid_t pids[55]; in verify_futex_wake() local
77 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) { in verify_futex_wake()
78 pids[i] = tst_fork(); in verify_futex_wake()
80 switch (pids[i]) { in verify_futex_wake()
90 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) in verify_futex_wake()
91 tst_process_state_wait2(pids[i], 'S'); in verify_futex_wake()
/external/ltp/testcases/network/nfs/nfslock01/
Dnfslock0143 local pids=$!
45 pids="$pids $!"
47 tst_res TINFO "waiting for pids: $pids"
48 for p in $pids; do
/external/bcc/tools/
Ddbstat.py46 if not args.pids or len(args.pids) == 0:
48 args.pids = map(int, subprocess.check_output(
51 args.pids = map(int, subprocess.check_output(
86 usdts = map(lambda pid: USDT(pid=pid), args.pids)
98 (', '.join(map(str, args.pids)), args.threshold))
Ddbslower.py61 if args.path and not args.pids:
184 if not args.pids or len(args.pids) == 0:
186 args.pids = map(int, subprocess.check_output(
189 args.pids = map(int, subprocess.check_output(
192 usdts = map(lambda pid: USDT(pid=pid), args.pids)
227 (', '.join(map(str, args.pids)), args.threshold))
/external/autotest/client/site_tests/network_ShillStability/
Dnetwork_ShillStability.py24 pids = utils.get_process_list('shill')
25 if not pids:
27 if len(pids) > 1:
28 raise error.TestFail('Found more than one shill: %r' % pids)
29 return int(pids[0])
/external/perfetto/src/traced/probes/ftrace/
Dftrace_metadata.cc26 pids.reserve(128); in FtraceMetadata()
63 if (!pids.empty() && pids.back() == pid) in AddPid()
65 pids.push_back(pid); in AddPid()
82 pids.clear(); in Clear()
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Dmulti_ebb_procs_test.c79 pid_t pids[NR_CHILDREN]; in multi_ebb_procs() local
89 pids[i] = fork(); in multi_ebb_procs()
90 if (pids[i] == 0) in multi_ebb_procs()
100 kill(pids[i], SIGINT); in multi_ebb_procs()
102 rc |= wait_for_child(pids[i]); in multi_ebb_procs()
/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c126 pid_t *pids; in mem_hog_cpuset() local
137 pids = SAFE_MALLOC(sizeof(pid_t) * ntasks); in mem_hog_cpuset()
139 switch (pids[i] = fork()) { in mem_hog_cpuset()
141 tst_res(TFAIL | TERRNO, "fork %d", pids[i]); in mem_hog_cpuset()
153 if (kill(pids[i], SIGUSR1) == -1) { in mem_hog_cpuset()
154 tst_res(TFAIL | TERRNO, "kill %d", pids[i]); in mem_hog_cpuset()
/external/autotest/client/site_tests/security_RendererSandbox/
Dsecurity_RendererSandbox.py25 pids = []
35 pids.append(proc.split()[0])
37 if pids:
38 self.renderer_pid = pids[0]
/external/perfetto/src/profiling/memory/
Dproc_utils.cc144 void FindAllProfilablePids(std::set<pid_t>* pids) { in FindAllProfilablePids() argument
145 ForEachPid([pids](pid_t pid) { in FindAllProfilablePids()
155 pids->emplace(pid); in FindAllProfilablePids()
160 std::set<pid_t>* pids) { in FindPidsForCmdlines() argument
161 ForEachPid([&cmdlines, pids](pid_t pid) { in FindPidsForCmdlines()
169 pids->emplace(static_cast<pid_t>(pid)); in FindPidsForCmdlines()
Dproc_utils_unittest.cc51 std::set<pid_t> pids; in TEST() local
68 FindAllProfilablePids(&pids); in TEST()
70 EXPECT_THAT(pids, Contains(pid)); in TEST()
71 EXPECT_THAT(pids, Not(Contains(getpid()))); in TEST()
Dheapprofd_producer.cc72 const auto& pids = cfg.pid(); in ConfigTargetsProcess() local
73 if (std::find(pids.cbegin(), pids.cend(), static_cast<uint64_t>(proc.pid)) != in ConfigTargetsProcess()
74 pids.cend()) { in ConfigTargetsProcess()
428 std::set<pid_t> pids; in StartDataSource() local
430 FindAllProfilablePids(&pids); in StartDataSource()
432 pids.emplace(static_cast<pid_t>(pid)); in StartDataSource()
435 FindPidsForCmdlines(data_source.normalized_cmdlines, &pids); in StartDataSource()
437 for (auto pid_it = pids.cbegin(); pid_it != pids.cend();) { in StartDataSource()
443 pid_it = pids.erase(pid_it); in StartDataSource()
453 data_source.signaled_pids = std::move(pids); in StartDataSource()
/external/strace/xlat/
Dgen.sh316 local pids=
327 pids="$pids $!"
332 pids="$rest"
336 $pids
/external/autotest/client/tests/disktest/
Ddisktest.py86 pids = []
89 pids.append(pid)
91 for pid in pids:
/external/autotest/client/site_tests/policy_PluginsAllowedForUrls/
Dpolicy_PluginsAllowedForUrls.py98 pids = utils.get_process_list('chrome', '--type=ppapi')
99 for pid in pids:
104 return pids
/external/autotest/client/site_tests/policy_PluginsBlockedForUrls/
Dpolicy_PluginsBlockedForUrls.py93 pids = utils.get_process_list('chrome', '--type=ppapi')
94 for pid in pids:
99 return pids

123