HomeSort by relevance Sort by last modified time
    Searched refs:pids (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/ltp/testcases/network/nfs/nfs_stress/
nfs06 19 [ -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/ltp/testcases/network/nfs/nfslock01/
nfslock01 43 local pids=$!
45 pids="$pids $!"
47 tst_res TINFO "waiting for pids: $pids"
48 for p in $pids; do
  /external/autotest/client/site_tests/security_RendererSandbox/
security_RendererSandbox.py 25 pids = []
35 pids.append(proc.split()[0])
37 if pids:
38 self.renderer_pid = pids[0]
  /external/ltp/testcases/kernel/syscalls/futex/
futex_wake03.c 75 pid_t pids[55]; local
77 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) {
78 pids[i] = tst_fork();
80 switch (pids[i]) {
90 for (i = 0; i < (int)ARRAY_SIZE(pids); i++)
91 tst_process_state_wait2(pids[i], 'S');
  /external/libvpx/libvpx/test/
stress.sh 82 local pids=""
97 pids="${pids} $!"
107 pids="${pids} $!"
122 pids="${pids} $!"
128 pids="${pids} $!"
133 for job in "${pids}"; d
    [all...]
  /external/autotest/client/site_tests/network_ShillStability/
network_ShillStability.py 24 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/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
multi_ebb_procs_test.c 79 pid_t pids[NR_CHILDREN]; local
89 pids[i] = fork();
90 if (pids[i] == 0)
100 kill(pids[i], SIGINT);
102 rc |= wait_for_child(pids[i]);
  /external/perfetto/src/traced/probes/ftrace/
ftrace_metadata.cc 26 pids.reserve(128);
63 if (!pids.empty() && pids.back() == pid)
65 pids.push_back(pid);
82 pids.clear();
  /external/bcc/tools/
dbstat.py 37 dest="pids", metavar="PID", help="the pid(s) to trace")
46 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)
97 print("Tracing database queries for pids %s slower than %d ms..." %
98 (', '.join(map(str, args.pids)), args.threshold))
dbslower.py 49 dest="pids", metavar="PID", help="the pid(s) to trace")
61 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)
226 print("Tracing database queries for pids %s slower than %d ms..." %
227 (', '.join(map(str, args.pids)), args.threshold))
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
parsed_trace_events.py 52 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/syscalls/cma/
process_vm_readv02.c 40 static pid_t pids[2]; variable
62 pids[0] = fork();
63 switch (pids[0]) {
71 pids[1] = fork();
72 switch (pids[1]) {
81 SAFE_WAITPID(cleanup, pids[1], &status, 0);
88 SAFE_WAITPID(cleanup, pids[0], &status, 0);
137 TEST(ltp_syscall(__NR_process_vm_readv, pids[0],
process_vm_writev02.c 50 static pid_t pids[2]; variable
72 pids[0] = fork();
73 switch (pids[0]) {
83 pids[1] = fork();
84 switch (pids[1]) {
94 SAFE_WAITPID(cleanup, pids[1], &status, 0);
101 SAFE_WAITPID(cleanup, pids[0], &status, 0);
174 TEST(ltp_syscall(__NR_process_vm_writev, pids[0], &local,
process_vm_readv03.c 53 static pid_t pids[2]; variable
81 pids[0] = fork();
82 switch (pids[0]) {
90 pids[1] = fork();
91 switch (pids[1]) {
100 SAFE_WAITPID(cleanup, pids[1], &status, 0);
107 SAFE_WAITPID(cleanup, pids[0], &status, 0);
183 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], &local,
216 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], local, NUM_LOCAL_VECS,
  /external/perfetto/src/profiling/memory/
proc_utils_unittest.cc 51 std::set<pid_t> pids; local
68 FindAllProfilablePids(&pids);
70 EXPECT_THAT(pids, Contains(pid));
71 EXPECT_THAT(pids, Not(Contains(getpid())));
proc_utils.h 50 void FindAllProfilablePids(std::set<pid_t>* pids);
52 std::set<pid_t>* pids);
proc_utils.cc 144 void FindAllProfilablePids(std::set<pid_t>* pids) {
145 ForEachPid([pids](pid_t pid) {
155 pids->emplace(pid);
160 std::set<pid_t>* pids) {
161 ForEachPid([&cmdlines, pids](pid_t pid) {
169 pids->emplace(static_cast<pid_t>(pid));
  /external/ltp/testcases/kernel/containers/pidns/
pidns05.c 81 * Returns - the number of pids matched.
83 int find_cinit_pids(pid_t * pids)
99 pids[next] = i;
156 pid_t pids[MAX_DEPTH]; local
159 orig_count = find_cinit_pids(pids);
160 kill(pids[MAX_DEPTH - 3], SIGKILL);
171 if (pids[i] != pids_new[i])
180 "the container %d", pids[MAX_DEPTH - 3]);
184 kill(pids[i], SIGKILL);
185 waitpid(pids[i], &status, 0)
    [all...]
  /external/ltp/testcases/kernel/controllers/pids/
pids.sh 27 # ./pids.sh caseno max
65 tst_res TINFO "Umounting pids"
73 exist=`grep -w pids /proc/cgroups | cut -f1`;
75 tst_brk TCONF NULL "pids not supported"
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
156 # should return 2 because the limit of pids is reached
175 ROD echo $lim \> $testpath/pids.max
196 ROD echo 0 \> $testpath/pids.ma
    [all...]
  /external/ltp/testcases/kernel/mem/cpuset/
cpuset01.c 126 pid_t *pids; local
137 pids = SAFE_MALLOC(sizeof(pid_t) * ntasks);
139 switch (pids[i] = fork()) {
141 tst_res(TFAIL | TERRNO, "fork %d", pids[i]);
153 if (kill(pids[i], SIGUSR1) == -1) {
154 tst_res(TFAIL | TERRNO, "kill %d", pids[i]);
  /bionic/tests/
leak_test.cpp 38 static void WaitUntilAllExited(pid_t* pids, size_t pid_count) {
44 if (pids[i] != 0) {
45 if (kill(pids[i], 0) == 0) {
49 pids[i] = 0; // Skip in next loop.
  /external/strace/xlat/
gen.sh 316 local pids=
327 pids="$pids $!"
332 pids="$rest"
336 $pids
  /external/autotest/client/site_tests/policy_PluginsAllowedForUrls/
policy_PluginsAllowedForUrls.py 98 pids = utils.get_process_list('chrome', '--type=ppapi')
99 for pid in pids:
104 return pids
  /external/autotest/client/site_tests/policy_PluginsBlockedForUrls/
policy_PluginsBlockedForUrls.py 93 pids = utils.get_process_list('chrome', '--type=ppapi')
94 for pid in pids:
99 return pids
  /external/autotest/client/tests/disktest/
disktest.py 86 pids = []
89 pids.append(pid)
91 for pid in pids:

Completed in 745 milliseconds

1 2 3