Home
last modified time | relevance | path

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

/Linux-v6.1/tools/lib/perf/
Dcpumap.c129 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()
130 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__read()
133 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
144 max_entries += MAX_NR_CPUS; in perf_cpu_map__read()
224 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()
225 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new()
234 max_entries += MAX_NR_CPUS; in perf_cpu_map__new()
/Linux-v6.1/tools/perf/
Dperf.h7 #ifndef MAX_NR_CPUS
8 #define MAX_NR_CPUS 2048 macro
Dbuiltin-mem.c39 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-annotate.c62 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-report.c110 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-diff.c103 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-sched.c56 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-script.c80 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
/Linux-v6.1/tools/lib/perf/include/internal/
Dcpumap.h23 #ifndef MAX_NR_CPUS
24 #define MAX_NR_CPUS 2048 macro
/Linux-v6.1/samples/bpf/
Dmap_perf_test_user.c23 #define MAX_NR_CPUS 1024 macro
122 static int inner_lru_map_fds[MAX_NR_CPUS]; in do_test_lru()
140 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);
/Linux-v6.1/tools/perf/util/
Dkwork.h187 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
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()
Dsession.c2720 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()