Home
last modified time | relevance | path

Searched refs:cpu__max_cpu (Results 1 – 19 of 19) sorted by relevance

/linux/tools/perf/tests/
H A Dperf-record.c21 int nrcpus = cpu__max_cpu().cpu; in sched__get_first_possible_cpu()
28 if (errno == EINVAL && nrcpus < (cpu__max_cpu().cpu << 8)) { in sched__get_first_possible_cpu()
57 int nrcpus = cpu__max_cpu().cpu; in test__PERF_RECORD()
/linux/tools/perf/util/
H A Dbpf_counter_cgroup.c52 int total_cpus = cpu__max_cpu().cpu; in bperf_load_program()
237 int total_cpus = cpu__max_cpu().cpu; in bperf_cgrp__read()
H A Daffinity.c15 int sz = cpu__max_cpu().cpu + 8 - 1; in get_cpu_set_size()
H A Dcpumap.h63 struct perf_cpu cpu__max_cpu(void);
H A Dbpf_ftrace.c173 int ncpus = cpu__max_cpu().cpu; in perf_ftrace__latency_read_bpf()
H A Dmmap.c263 map->affinity_mask.nbits = cpu__max_cpu().cpu; in perf_mmap__setup_affinity_mask()
H A Dcpumap.c527 struct perf_cpu cpu__max_cpu(void) in cpu__max_cpu() function
H A Dbpf_counter.c689 __u32 num_cpu_bpf = cpu__max_cpu().cpu; in bperf__read()
H A Dbpf_lock_contention.c516 total_cpus = cpu__max_cpu().cpu; in account_end_timestamp()
H A Dheader.c1233 nr = cpu__max_cpu().cpu; in build_caches()
1248 u32 max_caches = cpu__max_cpu().cpu * MAX_CACHE_LVL; in write_cache()
/linux/tools/perf/bench/
H A Dfutex-wake.c106 int nrcpus = cpu__max_cpu().cpu; in block_threads()
H A Dfutex-hash.c182 nrcpus = cpu__max_cpu().cpu; in bench_futex_hash()
H A Dfutex-lock-pi.c128 int nrcpus = cpu__max_cpu().cpu; in create_threads()
H A Dfutex-requeue.c131 int nrcpus = cpu__max_cpu().cpu; in block_threads()
H A Dfutex-wake-parallel.c155 int nrcpus = cpu__max_cpu().cpu; in block_threads()
H A Depoll-ctl.c235 nrcpus = cpu__max_cpu().cpu; in do_threads()
H A Depoll-wait.c312 nrcpus = cpu__max_cpu().cpu; in do_threads()
/linux/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c438 int max_cpu = cpu__max_cpu().cpu; in test__intel_pt_hybrid_compat()
/linux/tools/perf/
H A Dbuiltin-record.c3732 ret = record__alloc_thread_masks(rec, nr_cpus, cpu__max_cpu().cpu); in record__init_thread_cpu_masks()
3762 ret = record__mmap_cpu_mask_alloc(&cpus_mask, cpu__max_cpu().cpu); in record__init_thread_masks_spec()
3774 ret = record__thread_mask_alloc(&full_mask, cpu__max_cpu().cpu); in record__init_thread_masks_spec()
3780 ret = record__thread_mask_alloc(&thread_mask, cpu__max_cpu().cpu); in record__init_thread_masks_spec()
3846 ret = record__thread_mask_alloc(&thread_mask, cpu__max_cpu().cpu); in record__init_thread_masks_spec()
4009 ret = record__alloc_thread_masks(rec, 1, cpu__max_cpu().cpu); in record__init_thread_default_masks()