Home
last modified time | relevance | path

Searched refs:MAX_NR_CPUS (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/lib/perf/
Dcpumap.c117 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()
118 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__read()
121 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
132 max_entries += MAX_NR_CPUS; in perf_cpu_map__read()
212 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()
213 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new()
222 max_entries += MAX_NR_CPUS; in perf_cpu_map__new()
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/
Dcpumap.h13 #ifndef MAX_NR_CPUS
14 #define MAX_NR_CPUS 2048 macro
/kernel/linux/linux-5.10/tools/perf/
Dperf.h7 #ifndef MAX_NR_CPUS
8 #define MAX_NR_CPUS 2048 macro
Dbuiltin-mem.c34 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-annotate.c55 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-report.c102 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-diff.c103 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-sched.c55 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-script.c77 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
/kernel/linux/linux-5.10/samples/bpf/
Dmap_perf_test_user.c24 #define MAX_NR_CPUS 1024 macro
123 static int inner_lru_map_fds[MAX_NR_CPUS]; in do_test_lru()
138 assert(cpu < MAX_NR_CPUS); in do_test_lru()
Dmap_perf_test_kern.c17 #define MAX_NR_CPUS 1024 macro
52 __uint(max_entries, MAX_NR_CPUS);
/kernel/linux/linux-5.10/tools/perf/util/
Dsvghelper.c690 typedef struct { DECLARE_BITMAP(bits, MAX_NR_CPUS); } cpumask_t;
758 nr_cpus = min(env->nr_cpus_online, MAX_NR_CPUS); in svg_build_topology_map()
Dmachine.c2977 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__get_current_tid()
2989 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__set_current_tid()
Dsession.c2423 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()