Searched refs:ntasks (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
D | bpf_off_cpu.c | 130 int ncpus = 1, ntasks = 1, ncgrps = 1; in off_cpu_prepare() local 159 ntasks = 0; in off_cpu_prepare() 168 ntasks++; in off_cpu_prepare() 171 if (ntasks < MAX_PROC) in off_cpu_prepare() 172 ntasks = MAX_PROC; in off_cpu_prepare() 174 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare() 178 ntasks = perf_thread_map__nr(evlist->core.threads); in off_cpu_prepare() 179 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare() 247 for (i = 0; i < ntasks; i++) { in off_cpu_prepare()
|
D | bpf_ftrace.c | 22 int i, ncpus = 1, ntasks = 1; in perf_ftrace__latency_prepare_bpf() local 47 ntasks = perf_thread_map__nr(ftrace->evlist->core.threads); in perf_ftrace__latency_prepare_bpf() 48 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in perf_ftrace__latency_prepare_bpf() 80 for (i = 0; i < ntasks; i++) { in perf_ftrace__latency_prepare_bpf()
|
D | thread_map.c | 246 int ntasks = 0; in thread_map__new_by_tid_str() local 271 ntasks++; in thread_map__new_by_tid_str() 272 nt = perf_thread_map__realloc(threads, ntasks); in thread_map__new_by_tid_str() 278 perf_thread_map__set_pid(threads, ntasks - 1, tid); in thread_map__new_by_tid_str() 279 threads->nr = ntasks; in thread_map__new_by_tid_str()
|
D | bpf_lock_contention.c | 25 int ncpus = 1, ntasks = 1, ntypes = 1, naddrs = 1, ncgrps = 1; in lock_contention_prepare() local 55 ntasks = perf_thread_map__nr(evlist->core.threads); in lock_contention_prepare() 97 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare() 135 for (i = 0; i < ntasks; i++) { in lock_contention_prepare()
|