Home
last modified time | relevance | path

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

1234

/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, in child_invoke()
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh52 exist=`grep -w pids /proc/cgroups | cut -f1`;
57 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
68 ROD mount -t cgroup -o pids none $mount_point
131 ROD echo $max \> $testpath/pids.max
154 ROD echo $lim \> $testpath/pids.max
175 ROD echo 0 \> $testpath/pids.max
187 echo -1 > $testpath/pids.max
202 ROD echo $lim \> $testpath/pids.max
228 ROD echo $max \> $testpath/pids.max
270 ROD echo $max \> $testpath/pids.max
[all …]
/external/perfetto/src/profiling/common/
Dproc_utils.cc126 void FindAllProfilablePids(std::set<pid_t>* pids) { in FindAllProfilablePids() argument
127 ForEachPid([pids](pid_t pid) { in FindAllProfilablePids()
137 pids->emplace(pid); in FindAllProfilablePids()
142 std::set<pid_t>* pids) { in FindPidsForCmdlines() argument
143 ForEachPid([&cmdlines, pids](pid_t pid) { in FindPidsForCmdlines()
151 pids->emplace(static_cast<pid_t>(pid)); in FindPidsForCmdlines()
176 void RemoveUnderAnonThreshold(uint32_t min_size_kb, std::set<pid_t>* pids) { in RemoveUnderAnonThreshold() argument
177 for (auto it = pids->begin(); it != pids->end();) { in RemoveUnderAnonThreshold()
189 it = pids->erase(it); in RemoveUnderAnonThreshold()
Dproc_utils_unittest.cc104 std::set<pid_t> pids; in TEST() local
121 FindAllProfilablePids(&pids); in TEST()
123 EXPECT_THAT(pids, Contains(pid)); in TEST()
124 EXPECT_THAT(pids, Not(Contains(getpid()))); in TEST()
Dproc_utils.h50 void FindAllProfilablePids(std::set<pid_t>* pids);
52 std::set<pid_t>* pids);
59 void RemoveUnderAnonThreshold(uint32_t min_size_kb, std::set<pid_t>* pids);
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake03.c76 pid_t pids[55]; in verify_futex_wake() local
78 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) { in verify_futex_wake()
79 pids[i] = tst_fork(); in verify_futex_wake()
81 switch (pids[i]) { in verify_futex_wake()
91 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) in verify_futex_wake()
92 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/toybox/toys/lsb/
Dkillall.c35 struct int_list { struct int_list *next; int val; } *pids;
52 struct int_list *new = xmalloc(sizeof(*TT.pids));
54 new->next = TT.pids;
55 TT.pids = new;
110 struct int_list *p = TT.pids; in killall_main()
120 llist_traverse(TT.pids, free); in killall_main()
/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/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/ltp/testcases/kernel/controllers/memcg/stress/
Dmemcg_stress_test.sh70 local i pid pids
81 pids="$! $pids"
84 for pid in $pids; do
93 for pid in $pids; do
/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/perfetto/src/traced/probes/ftrace/
Dftrace_metadata.h41 pids.reserve(256); in FtraceMetadata()
80 pids.insert(pid); in AddPid()
91 pids.clear(); in Clear()
112 base::FlatSet<int32_t> pids; member
/external/perfetto/src/profiling/memory/
Djava_hprof_producer.cc55 const std::set<pid_t>& pids = ds.pids; in SignalDataSource() local
56 for (pid_t pid : pids) { in SignalDataSource()
85 ds.pids.emplace(static_cast<pid_t>(pid)); in SetupDataSource()
92 FindPidsForCmdlines(normalized_cmdlines.value(), &ds.pids); in SetupDataSource()
94 RemoveUnderAnonThreshold(config.min_anonymous_memory_kb(), &ds.pids); in SetupDataSource()
/external/strace/xlat/
Dgen.sh316 local pids=
327 pids="$pids $!"
332 pids="$rest"
336 $pids
/external/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast-lib.sh112 local cnt define_src_addr filter params pid pids ret
135 pids="$! $pids"
139 for pid in $pids; do wait $pid; done

1234