Home
last modified time | relevance | path

Searched refs:ntasks (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dbpf_off_cpu.c130 int ncpus = 1, ntasks = 1, ncgrps = 1; in off_cpu_prepare() local
158 ntasks = 0; in off_cpu_prepare()
167 ntasks++; in off_cpu_prepare()
170 if (ntasks < MAX_PROC) in off_cpu_prepare()
171 ntasks = MAX_PROC; in off_cpu_prepare()
173 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
175 ntasks = perf_thread_map__nr(evlist->core.threads); in off_cpu_prepare()
176 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
244 for (i = 0; i < ntasks; i++) { in off_cpu_prepare()
H A Dbpf_ftrace.c22 int i, ncpus = 1, ntasks = 1; in perf_ftrace__latency_prepare_bpf() local
46 ntasks = perf_thread_map__nr(ftrace->evlist->core.threads); in perf_ftrace__latency_prepare_bpf()
47 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in perf_ftrace__latency_prepare_bpf()
78 for (i = 0; i < ntasks; i++) { in perf_ftrace__latency_prepare_bpf()
H A Dthread_map.c247 int ntasks = 0; in thread_map__new_by_tid_str() local
272 ntasks++; in thread_map__new_by_tid_str()
273 nt = perf_thread_map__realloc(threads, ntasks); in thread_map__new_by_tid_str()
279 perf_thread_map__set_pid(threads, ntasks - 1, tid); in thread_map__new_by_tid_str()
280 threads->nr = ntasks; in thread_map__new_by_tid_str()
H A Dbpf_lock_contention.c23 int ncpus = 1, ntasks = 1, ntypes = 1, naddrs = 1; in lock_contention_prepare() local
50 ntasks = perf_thread_map__nr(evlist->core.threads); in lock_contention_prepare()
84 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare()
113 for (i = 0; i < ntasks; i++) { in lock_contention_prepare()