Home
last modified time | relevance | path

Searched defs:nr_cpus (Results 1 – 25 of 25) sorted by relevance

/tools/lib/perf/
Dcpumap.c51 int nr_cpus; in cpu_map__default_new() local
81 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new()
107 int nr_cpus = 0; in perf_cpu_map__read() local
181 int i, nr_cpus = 0; in perf_cpu_map__new() local
Devlist.c297 int nr_cpus = perf_cpu_map__nr(evlist->cpus); in perf_evlist__alloc_pollfd() local
539 int nr_cpus = perf_cpu_map__nr(evlist->cpus); in mmap_per_cpu() local
/tools/perf/util/
Dbpf_counter_cgroup.c50 __u32 nr_cpus = evlist->core.all_cpus->nr; in bperf_load_program() local
211 int nr_cpus = evlist->core.all_cpus->nr; in bperf_cgrp__sync_counters() local
247 int i, cpu, nr_cpus = evlist->core.all_cpus->nr; in bperf_cgrp__read() local
Dsvghelper.c700 int *pos, int nr_cpus) in scan_thread_topology()
715 static void scan_core_topology(int *map, struct topology *t, int nr_cpus) in scan_core_topology()
726 static int str_to_bitmap(char *s, cpumask_t *b, int nr_cpus) in str_to_bitmap()
754 int i, nr_cpus; in svg_build_topology_map() local
Dmmap.c243 int c, cpu, nr_cpus; in build_node_mask() local
Denv.c301 int cpu, nr_cpus; in perf_env__read_cpu_topology_map() local
Devsel.c1647 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__remove_fd()
1655 int nr_cpus, int cpu_idx, in update_fds()
1679 int nr_cpus, int cpu, in evsel__ignore_missing_thread()
Dmachine.c3029 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__get_current_tid() local
3041 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__set_current_tid() local
Devlist.c554 int nr_cpus = perf_cpu_map__nr(evlist->core.cpus); in evlist__enable_event_thread() local
Dsession.c2448 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap() local
/tools/perf/arch/arm/util/
Dauxtrace.c21 int ret, i, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in find_all_arm_spe_pmus() local
/tools/testing/selftests/bpf/prog_tests/
Dperf_buffer.c48 int err, on_len, nr_on_cpus = 0, nr_cpus, i; in test_perf_buffer() local
Dxdp_noinline.c8 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_xdp_noinline() local
Dl4lb_all.c7 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_l4lb() local
Dmap_init.c10 static int nr_cpus; variable
Dlookup_and_delete.c11 static int nr_cpus; variable
/tools/testing/selftests/bpf/map_tests/
Darray_map_batch_ops.c12 static int nr_cpus; variable
/tools/virtio/virtio-trace/
Dtrace-agent.c31 int nr_cpus = (int)sysconf(_SC_NPROCESSORS_CONF); in get_total_cpus() local
/tools/testing/selftests/bpf/
Dtest_maps.c156 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_hashmap_percpu() local
419 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_arraymap_percpu() local
478 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_arraymap_percpu_many_keys() local
Dtest_lru_map.c27 static int nr_cpus; variable
Dtest_progs.h77 int nr_cpus; member
/tools/power/cpupower/utils/
Dcpufreq-info.c58 unsigned int cpu, nr_cpus; in proc_cpufreq_output() local
/tools/testing/selftests/vm/
Duserfaultfd.c66 static unsigned long nr_cpus, nr_pages, nr_pages_per_cpu, page_size; variable
/tools/perf/bench/
Dnuma.c125 int nr_cpus; member
/tools/lib/bpf/
Dlibbpf.c4591 int nr_cpus; in bpf_object__create_map() local