Home
last modified time | relevance | path

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

123

/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/testcases/network/nfs/nfs_stress/
Dnfs0635 local pids
38 pids="$pids $!"
42 tst_resm TINFO "waiting for pids:$pids"
43 for p in $pids; do
46 kill -9 $pids
/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.c82 int find_cinit_pids(pid_t * pids) in find_cinit_pids() argument
98 pids[next] = i; in find_cinit_pids()
155 pid_t pids[MAX_DEPTH]; in kill_nested_containers() local
158 orig_count = find_cinit_pids(pids); in kill_nested_containers()
159 kill(pids[MAX_DEPTH - 3], SIGKILL); in kill_nested_containers()
170 if (pids[i] != pids_new[i]) in kill_nested_containers()
179 "the container %d", pids[MAX_DEPTH - 3]); in kill_nested_containers()
183 kill(pids[i], SIGKILL); in kill_nested_containers()
184 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
64 pids[0] = fork(); in main()
65 switch (pids[0]) { in main()
73 pids[1] = fork(); in main()
74 switch (pids[1]) { in main()
83 if (waitpid(pids[1], &status, 0) == -1) in main()
91 if (waitpid(pids[0], &status, 0) == -1) in main()
141 TEST(test_process_vm_readv(pids[0], &local, 1, &remote, 1, 0)); in child_invoke()
Dprocess_vm_writev02.c49 static pid_t pids[2]; variable
73 pids[0] = fork(); in main()
74 switch (pids[0]) { in main()
84 pids[1] = fork(); in main()
85 switch (pids[1]) { in main()
95 if (waitpid(pids[1], &status, 0) == -1) in main()
103 if (waitpid(pids[0], &status, 0) == -1) in main()
177 TEST(test_process_vm_writev(pids[0], &local, 1, &remote, 1, 0)); in child_write()
Dprocess_vm_readv03.c52 static pid_t pids[2]; variable
82 pids[0] = fork(); in main()
83 switch (pids[0]) { in main()
91 pids[1] = fork(); in main()
92 switch (pids[1]) { in main()
101 if (waitpid(pids[1], &status, 0) == -1) in main()
109 if (waitpid(pids[0], &status, 0) == -1) in main()
186 TEST(test_process_vm_readv(pids[0], &local, 1, &remote, 1, 0)); in fetch_remote_addrs()
218 TEST(test_process_vm_readv(pids[0], local, NUM_LOCAL_VECS, in child_invoke()
/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/trappy/trappy/plotter/
DUtils.py42 def get_trace_event_data(trace, execnames=None, pids=None): argument
51 if pids:
52 pids = listify(pids)
90 if pids and next_pid not in pids:
D__init__.py54 pids=None): argument
79 data, procs, domain = Utils.get_trace_event_data(trace, execnames, pids)
/external/ltp/testcases/network/nfs/nfslock01/
Dnfslock0157 local pids=$!
59 pids="$pids $!"
61 tst_resm TINFO "waiting for pids: $pids"
62 for p in $pids; do
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh70 exist=`grep -w pids /proc/cgroups | cut -f1`;
75 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
86 ROD mount -t cgroup -o pids none $mount_point
135 ROD echo $max \> $testpath/pids.max
158 ROD echo $lim \> $testpath/pids.max
179 ROD echo 0 \> $testpath/pids.max
191 echo -1 > $testpath/pids.max
/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/bart/bart/sched/
DSchedMultiAssert.py138 def __init__(self, ftrace, topology, execnames=None, pids=None): argument
143 if execnames and pids:
148 elif pids:
149 self._pids = pids
172 pids = []
175 pids += sched_funcs.get_pids_for_process(self._ftrace, proc)
177 return list(set(pids))
DSchedAssert.py88 pids = sched_funcs.get_pids_for_process(self._ftrace,
91 if len(pids) != 1:
94 pids,
97 return pids[0]
101 pids = sched_funcs.get_pids_for_process(self._ftrace,
103 if pid not in pids:
DSchedMatrix.py176 pids = []
179 pids += sched_funcs.get_pids_for_process(run, proc)
181 return list(set(pids))
/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c176 pid_t *pids; in mem_hog_cpuset() local
187 pids = malloc(sizeof(pid_t) * ntasks); in mem_hog_cpuset()
188 if (pids == NULL) in mem_hog_cpuset()
191 switch (pids[i] = fork()) { in mem_hog_cpuset()
193 tst_resm(TFAIL | TERRNO, "fork %d", pids[i]); in mem_hog_cpuset()
205 if (kill(pids[i], SIGUSR1) == -1) { in mem_hog_cpuset()
206 tst_resm(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/autotest/contrib/
Dwatch_expensive_rpcs.py27 pids = []
33 pids.append((cols[1], cols[3], cols[5]))
34 return pids
90 pids = check_cautotest() variable
91 for pid in pids:
/external/ltp/runtest/
Dcontrollers356 pids_1_1 pids.sh 1 1
357 pids_1_2 pids.sh 1 2
358 pids_1_10 pids.sh 1 10
359 pids_1_50 pids.sh 1 50
360 pids_1_100 pids.sh 1 100
361 pids_2_1 pids.sh 2 1
362 pids_2_2 pids.sh 2 2
363 pids_2_10 pids.sh 2 10
364 pids_2_50 pids.sh 2 50
365 pids_2_100 pids.sh 2 100
[all …]
/external/valgrind/callgrind/
Dcallgrind_control.in29 @pids = ();
41 push(@pids, $pid);
313 foreach $p (@pids) {
331 if (scalar @pids == 0) {
337 if (scalar @spids >0) { @pids = @spids; }
353 foreach $pid (@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.py92 pids = utils.get_process_list('chrome', '--type=ppapi')
93 for pid in pids:
98 return pids
/external/autotest/client/site_tests/policy_PluginsBlockedForUrls/
Dpolicy_PluginsBlockedForUrls.py92 pids = utils.get_process_list('chrome', '--type=ppapi')
93 for pid in pids:
98 return pids
/external/bart/tests/
Dtest_sched_assert.py96 pids = [4729, 4734]
101 sma = SchedMultiAssert(tr, self.topology, pids=pids)

123