nr_cpus_avail 2040 tools/perf/builtin-c2c.c c2c.cpus_cnt = session->header.env.nr_cpus_avail; nr_cpus_avail 943 tools/perf/builtin-stat.c if (cpu >= env->nr_cpus_avail) nr_cpus_avail 1514 tools/perf/builtin-timechart.c tchart->numcpus = ph->env.nr_cpus_avail; nr_cpus_avail 97 tools/perf/tests/topology.c for (i = 0; i < session->header.env.nr_cpus_avail; i++) { nr_cpus_avail 1337 tools/perf/util/data-convert-bt.c ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; nr_cpus_avail 238 tools/perf/util/env.c if (env->nr_cpus_avail == 0) nr_cpus_avail 239 tools/perf/util/env.c env->nr_cpus_avail = cpu__max_present_cpu(); nr_cpus_avail 241 tools/perf/util/env.c nr_cpus = env->nr_cpus_avail; nr_cpus_avail 255 tools/perf/util/env.c env->nr_cpus_avail = nr_cpus; nr_cpus_avail 274 tools/perf/util/env.c if (env->nr_cpus_avail == 0) nr_cpus_avail 275 tools/perf/util/env.c env->nr_cpus_avail = cpu__max_present_cpu(); nr_cpus_avail 277 tools/perf/util/env.c return env->nr_cpus_avail ? 0 : -ENOENT; nr_cpus_avail 287 tools/perf/util/env.c return env && !perf_env__read_nr_cpus_avail(env) ? env->nr_cpus_avail : 0; nr_cpus_avail 46 tools/perf/util/env.h int nr_cpus_avail; nr_cpus_avail 604 tools/perf/util/header.c for (j = 0; j < perf_env.nr_cpus_avail; j++) { nr_cpus_avail 628 tools/perf/util/header.c for (j = 0; j < perf_env.nr_cpus_avail; j++) { nr_cpus_avail 1421 tools/perf/util/header.c fprintf(fp, "# nrcpus avail : %u\n", ff->ph->env.nr_cpus_avail); nr_cpus_avail 1461 tools/perf/util/header.c int cpu_nr = ph->env.nr_cpus_avail; nr_cpus_avail 2073 tools/perf/util/header.c u32 nr_cpus_avail, nr_cpus_online; nr_cpus_avail 2075 tools/perf/util/header.c ret = do_read_u32(ff, &nr_cpus_avail); nr_cpus_avail 2082 tools/perf/util/header.c ff->ph->env.nr_cpus_avail = (int)nr_cpus_avail; nr_cpus_avail 2200 tools/perf/util/header.c int cpu_nr = ff->ph->env.nr_cpus_avail; nr_cpus_avail 379 tools/perf/util/llvm-utils.c static int nr_cpus_avail = 0; nr_cpus_avail 382 tools/perf/util/llvm-utils.c if (nr_cpus_avail > 0) nr_cpus_avail 383 tools/perf/util/llvm-utils.c return nr_cpus_avail; nr_cpus_avail 385 tools/perf/util/llvm-utils.c nr_cpus_avail = sysconf(_SC_NPROCESSORS_CONF); nr_cpus_avail 386 tools/perf/util/llvm-utils.c if (nr_cpus_avail <= 0) { nr_cpus_avail 390 tools/perf/util/llvm-utils.c nr_cpus_avail = 128; nr_cpus_avail 392 tools/perf/util/llvm-utils.c return nr_cpus_avail; nr_cpus_avail 435 tools/perf/util/llvm-utils.c int err, nr_cpus_avail; nr_cpus_avail 476 tools/perf/util/llvm-utils.c nr_cpus_avail = llvm__get_nr_cpus(); nr_cpus_avail 478 tools/perf/util/llvm-utils.c nr_cpus_avail); nr_cpus_avail 1026 tools/perf/util/machine.c int nr_cpus_avail, cpu; nr_cpus_avail 1054 tools/perf/util/machine.c nr_cpus_avail = machine__nr_cpus_avail(machine); nr_cpus_avail 1057 tools/perf/util/machine.c for (cpu = 0; cpu < nr_cpus_avail; cpu++) { nr_cpus_avail 1073 tools/perf/util/machine.c machine->trampolines_mapped = nr_cpus_avail;