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

/linux-master/tools/perf/util/
H A Dbpf_off_cpu.c132 int ncpus = 1, ntasks = 1, ncgrps = 1; local
160 ntasks = 0;
169 ntasks++;
172 if (ntasks < MAX_PROC)
173 ntasks = MAX_PROC;
175 bpf_map__set_max_entries(skel->maps.task_filter, ntasks);
177 ntasks = perf_thread_map__nr(evlist->core.threads);
178 bpf_map__set_max_entries(skel->maps.task_filter, ntasks);
246 for (i = 0; i < ntasks; i++) {
H A Dbpf_ftrace.c22 int i, ncpus = 1, ntasks = 1; local
46 ntasks = perf_thread_map__nr(ftrace->evlist->core.threads);
47 bpf_map__set_max_entries(skel->maps.task_filter, ntasks);
78 for (i = 0; i < ntasks; i++) {
H A Dthread_map.c246 int ntasks = 0; local
271 ntasks++;
272 nt = perf_thread_map__realloc(threads, ntasks);
278 perf_thread_map__set_pid(threads, ntasks - 1, tid);
279 threads->nr = ntasks;
H A Dbpf_lock_contention.c25 int ncpus = 1, ntasks = 1, ntypes = 1, naddrs = 1, ncgrps = 1; local
52 ntasks = perf_thread_map__nr(evlist->core.threads);
88 bpf_map__set_max_entries(skel->maps.task_filter, ntasks);
118 for (i = 0; i < ntasks; i++) {

Completed in 196 milliseconds