Home
last modified time | relevance | path

Searched refs:nr_cpus_avail (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/tools/perf/util/
Denv.c314 if (env->nr_cpus_avail == 0) in perf_env__read_cpu_topology_map()
315 env->nr_cpus_avail = cpu__max_present_cpu().cpu; in perf_env__read_cpu_topology_map()
317 nr_cpus = env->nr_cpus_avail; in perf_env__read_cpu_topology_map()
333 env->nr_cpus_avail = nr_cpus; in perf_env__read_cpu_topology_map()
402 if (env->nr_cpus_avail == 0) in perf_env__read_nr_cpus_avail()
403 env->nr_cpus_avail = cpu__max_present_cpu().cpu; in perf_env__read_nr_cpus_avail()
405 return env->nr_cpus_avail ? 0 : -ENOENT; in perf_env__read_nr_cpus_avail()
415 return env && !perf_env__read_nr_cpus_avail(env) ? env->nr_cpus_avail : 0; in perf_env__nr_cpus_avail()
Denv.h67 int nr_cpus_avail; member
Dheader.c619 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology()
643 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology()
1668 fprintf(fp, "# nrcpus avail : %u\n", ff->ph->env.nr_cpus_avail); in print_nrcpus()
1708 int cpu_nr = ph->env.nr_cpus_avail; in print_cpu_topology()
2464 u32 nr_cpus_avail, nr_cpus_online; in process_nrcpus() local
2466 ret = do_read_u32(ff, &nr_cpus_avail); in process_nrcpus()
2473 ff->ph->env.nr_cpus_avail = (int)nr_cpus_avail; in process_nrcpus()
2588 int cpu_nr = ff->ph->env.nr_cpus_avail; in process_cpu_topology()
Ddata-convert-json.c292 output_json_key_format(out, true, 2, "nrcpus-avail", "%u", header->env.nr_cpus_avail); in output_headers()
Dmachine.c1104 int nr_cpus_avail, cpu; in machine__map_x86_64_entry_trampolines() local
1120 nr_cpus_avail = machine__nr_cpus_avail(machine); in machine__map_x86_64_entry_trampolines()
1123 for (cpu = 0; cpu < nr_cpus_avail; cpu++) { in machine__map_x86_64_entry_trampolines()
1139 machine->trampolines_mapped = nr_cpus_avail; in machine__map_x86_64_entry_trampolines()
Ddata-convert-bt.c1346 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()
Dsession.c2486 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()
/linux-6.12.1/tools/perf/tests/
Dtopology.c116 for (i = 0; i < session->header.env.nr_cpus_avail; i++) { in check_cpu_topology()
/linux-6.12.1/tools/perf/Documentation/
Dperf.data-file-format.txt182 uint32_t die_id[nr_cpus_avail]; /* from previously processed HEADER_NR_CPUS, VLA */
/linux-6.12.1/tools/perf/
Dbuiltin-timechart.c1523 tchart->numcpus = ph->env.nr_cpus_avail; in process_header()
Dbuiltin-c2c.c2274 c2c.cpus_cnt = session->header.env.nr_cpus_avail; in setup_nodes()