Searched refs:nr_cpus_avail (Results 1 – 13 of 13) sorted by relevance
/linux/tools/perf/util/ |
A D | llvm-utils.c | 399 static int nr_cpus_avail = 0; in llvm__get_nr_cpus() local 402 if (nr_cpus_avail > 0) in llvm__get_nr_cpus() 403 return nr_cpus_avail; in llvm__get_nr_cpus() 405 nr_cpus_avail = sysconf(_SC_NPROCESSORS_CONF); in llvm__get_nr_cpus() 406 if (nr_cpus_avail <= 0) { in llvm__get_nr_cpus() 410 nr_cpus_avail = 128; in llvm__get_nr_cpus() 412 return nr_cpus_avail; in llvm__get_nr_cpus() 454 int err, nr_cpus_avail; in llvm__compile_bpf() local 489 nr_cpus_avail = llvm__get_nr_cpus(); in llvm__compile_bpf() 491 nr_cpus_avail); in llvm__compile_bpf()
|
A D | env.c | 293 if (env->nr_cpus_avail == 0) in perf_env__read_cpu_topology_map() 294 env->nr_cpus_avail = cpu__max_present_cpu(); in perf_env__read_cpu_topology_map() 296 nr_cpus = env->nr_cpus_avail; in perf_env__read_cpu_topology_map() 310 env->nr_cpus_avail = nr_cpus; in perf_env__read_cpu_topology_map() 383 if (env->nr_cpus_avail == 0) in perf_env__read_nr_cpus_avail() 384 env->nr_cpus_avail = cpu__max_present_cpu(); in perf_env__read_nr_cpus_avail() 386 return env->nr_cpus_avail ? 0 : -ENOENT; in perf_env__read_nr_cpus_avail() 396 return env && !perf_env__read_nr_cpus_avail(env) ? env->nr_cpus_avail : 0; in perf_env__nr_cpus_avail()
|
A D | env.h | 58 int nr_cpus_avail; member
|
A D | header.c | 609 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology() 633 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology() 1555 fprintf(fp, "# nrcpus avail : %u\n", ff->ph->env.nr_cpus_avail); in print_nrcpus() 1595 int cpu_nr = ph->env.nr_cpus_avail; in print_cpu_topology() 2353 u32 nr_cpus_avail, nr_cpus_online; in process_nrcpus() local 2355 ret = do_read_u32(ff, &nr_cpus_avail); in process_nrcpus() 2362 ff->ph->env.nr_cpus_avail = (int)nr_cpus_avail; in process_nrcpus() 2477 int cpu_nr = ff->ph->env.nr_cpus_avail; in process_cpu_topology()
|
A D | data-convert-json.c | 254 output_json_key_format(out, true, 2, "nrcpus-avail", "%u", header->env.nr_cpus_avail); in output_headers()
|
A D | machine.c | 1147 int nr_cpus_avail, cpu; in machine__map_x86_64_entry_trampolines() local 1175 nr_cpus_avail = machine__nr_cpus_avail(machine); in machine__map_x86_64_entry_trampolines() 1178 for (cpu = 0; cpu < nr_cpus_avail; cpu++) { in machine__map_x86_64_entry_trampolines() 1194 machine->trampolines_mapped = nr_cpus_avail; in machine__map_x86_64_entry_trampolines() 3036 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__get_current_tid() 3048 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__set_current_tid()
|
A D | data-convert-bt.c | 1340 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()
|
A D | session.c | 2517 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()
|
/linux/tools/perf/tests/ |
A D | topology.c | 114 for (i = 0; i < session->header.env.nr_cpus_avail; i++) { in check_cpu_topology()
|
/linux/tools/perf/Documentation/ |
A D | perf.data-file-format.txt | 182 uint32_t die_id[nr_cpus_avail]; /* from previously processed HEADER_NR_CPUS, VLA */
|
/linux/tools/perf/ |
A D | builtin-timechart.c | 1514 tchart->numcpus = ph->env.nr_cpus_avail; in process_header()
|
A D | builtin-stat.c | 1471 if (cpu >= env->nr_cpus_avail) in perf_env__get_cpu()
|
A D | builtin-c2c.c | 2025 c2c.cpus_cnt = session->header.env.nr_cpus_avail; in setup_nodes()
|
Completed in 67 milliseconds