Searched refs:ntasks (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | bpf_off_cpu.c | 154 int ncpus = 1, ntasks = 1, ncgrps = 1; in off_cpu_prepare() 183 ntasks = 0; in off_cpu_prepare() 192 ntasks++; in off_cpu_prepare() 195 if (ntasks < MAX_PROC) in off_cpu_prepare() 196 ntasks = MAX_PROC; in off_cpu_prepare() 198 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare() 202 ntasks = perf_thread_map__nr(evlist__core(evlist)->threads); in off_cpu_prepare() 203 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare() 271 for (i = 0; i < ntasks; i++) { in off_cpu_prepare() 152 int ncpus = 1, ntasks = 1, ncgrps = 1; off_cpu_prepare() local
|
| H A D | bpf_ftrace.c | 25 int i, ncpus = 1, ntasks = 1; in perf_ftrace__latency_prepare_bpf() local 68 ntasks = perf_thread_map__nr(evlist__core(ftrace->evlist)->threads); in perf_ftrace__latency_prepare_bpf() 69 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in perf_ftrace__latency_prepare_bpf() 102 for (i = 0; i < ntasks; i++) { in perf_ftrace__latency_prepare_bpf()
|
| H A D | thread_map.c | 221 int ntasks = 0; in thread_map__new_by_tid_str() local 243 ntasks++; in thread_map__new_by_tid_str() 244 nt = perf_thread_map__realloc(threads, ntasks); in thread_map__new_by_tid_str() 250 perf_thread_map__set_pid(threads, ntasks - 1, tid); in thread_map__new_by_tid_str() 251 threads->nr = ntasks; in thread_map__new_by_tid_str()
|
| H A D | bpf_lock_contention.c | 186 int ncpus = 1, ntasks = 1, ntypes = 1, naddrs = 1, ncgrps = 1, nslabs = 1; in lock_contention_prepare() local 230 ntasks = perf_thread_map__nr(evlist__core(evlist)->threads); in lock_contention_prepare() 298 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare() 348 for (i = 0; i < ntasks; i++) { in lock_contention_prepare()
|