Home
last modified time | relevance | path

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

/tools/perf/include/bpf/
Dpid_filter.h10 static int pid_filter__add(struct bpf_map *pids, pid_t pid) in pid_filter__add() argument
13 return bpf_map_update_elem(pids, &pid, &value, BPF_NOEXIST); in pid_filter__add()
16 static bool pid_filter__has(struct bpf_map *pids, pid_t pid) in pid_filter__has() argument
18 return bpf_map_lookup_elem(pids, &pid) != NULL; in pid_filter__has()
/tools/testing/selftests/powerpc/pmu/ebb/
Dmulti_ebb_procs_test.c77 pid_t pids[NR_CHILDREN]; in multi_ebb_procs() local
87 pids[i] = fork(); in multi_ebb_procs()
88 if (pids[i] == 0) in multi_ebb_procs()
98 kill(pids[i], SIGINT); in multi_ebb_procs()
100 rc |= wait_for_child(pids[i]); in multi_ebb_procs()
/tools/kvm/kvm_stat/
Dkvm_stat1066 pids = []
1069 pids.append(int(line[0]))
1071 return pids
1187 pids = self.get_pid_from_gname(self._gname)
1188 if len(pids) == 1:
1189 self._refresh_header(pids[0])
1190 self._update_pid(pids[0])
1404 pids = []
1406 pids = self.get_pid_from_gname(guest)
1411 if len(pids) == 0:
[all …]
/tools/testing/selftests/netfilter/
Dconntrack_vrf.sh44 ip netns pids $ns0 | xargs kill 2>/dev/null
45 ip netns pids $ns1 | xargs kill 2>/dev/null
/tools/perf/Documentation/
Dperf-sched.txt94 --color-pids::
95 Highlight the given pids.
Dperf-trace.txt91 --filter-pids=::
92 Filter out events for these pids and for 'trace' itself (comma separated list).
/tools/perf/bench/
Dnuma.c1489 pid_t *pids, pid, wpid; in __bench_numa() local
1501 pids = zalloc(g->p.nr_proc * sizeof(*pids)); in __bench_numa()
1525 pids[i] = pid; in __bench_numa()
1566 wpid = waitpid(pids[i], &wait_stat, 0); in __bench_numa()
1650 free(pids); in __bench_numa()
/tools/perf/util/
Devlist.h134 int perf_evlist__set_tp_filter_pids(struct evlist *evlist, size_t npids, pid_t *pids);
Devlist.c1048 int perf_evlist__set_tp_filter_pids(struct evlist *evlist, size_t npids, pid_t *pids) in perf_evlist__set_tp_filter_pids() argument
1056 if (asprintf(&filter, "common_pid != %d", pids[i]) < 0) in perf_evlist__set_tp_filter_pids()
1061 if (asprintf(&tmp, "%s && common_pid != %d", filter, pids[i]) < 0) in perf_evlist__set_tp_filter_pids()
/tools/perf/
Dbuiltin-trace.c3188 size_t npids __maybe_unused, pid_t *pids __maybe_unused) in bpf_map__set_filter_pids()
3197 err = bpf_map_update_elem(map_fd, &pids[i], &value, BPF_ANY); in bpf_map__set_filter_pids()
3208 pid_t pids[32] = { in trace__set_filter_loop_pids() local
3211 struct thread *thread = machine__find_thread(trace->host, pids[0], pids[0]); in trace__set_filter_loop_pids()
3213 while (thread && nr < ARRAY_SIZE(pids)) { in trace__set_filter_loop_pids()
3221 pids[nr++] = parent->tid; in trace__set_filter_loop_pids()
3227 err = perf_evlist__set_tp_filter_pids(trace->evlist, nr, pids); in trace__set_filter_loop_pids()
3229 err = bpf_map__set_filter_pids(trace->filter_pids.map, nr, pids); in trace__set_filter_loop_pids()
/tools/include/uapi/sound/
Dasound.h899 struct snd_ctl_elem_id __user *pids; /* R: IDs */ member