Home
last modified time | relevance | path

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

/Linux-v6.6/tools/perf/
Dperf.h5 #ifndef MAX_NR_CPUS
6 #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.c114 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.c84 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
/Linux-v6.6/tools/lib/perf/include/internal/
Dcpumap.h24 #ifndef MAX_NR_CPUS
25 #define MAX_NR_CPUS 2048 macro
/Linux-v6.6/tools/lib/perf/
Dcpumap.c150 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()
151 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__read()
154 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
165 max_entries += MAX_NR_CPUS; in perf_cpu_map__read()
245 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()
246 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new()
255 max_entries += MAX_NR_CPUS; in perf_cpu_map__new()
/Linux-v6.6/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.bpf.c15 #define MAX_NR_CPUS 1024 macro
50 __uint(max_entries, MAX_NR_CPUS);
/Linux-v6.6/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.c2724 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()