Searched refs:MAX_NR_CPUS (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/tools/perf/lib/ |
D | cpumap.c | 103 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read() 104 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__read() 107 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read() 118 max_entries += MAX_NR_CPUS; in perf_cpu_map__read() 198 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new() 199 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new() 208 max_entries += MAX_NR_CPUS; in perf_cpu_map__new()
|
/Linux-v5.4/tools/perf/lib/include/internal/ |
D | cpumap.h | 13 #ifndef MAX_NR_CPUS 14 #define MAX_NR_CPUS 2048 macro
|
/Linux-v5.4/tools/perf/ |
D | perf.h | 7 #ifndef MAX_NR_CPUS 8 #define MAX_NR_CPUS 2048 macro
|
D | builtin-mem.c | 34 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-annotate.c | 55 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-report.c | 100 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-diff.c | 96 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-script.c | 75 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
/Linux-v5.4/samples/bpf/ |
D | map_perf_test_user.c | 25 #define MAX_NR_CPUS 1024 macro 118 static int inner_lru_map_fds[MAX_NR_CPUS]; in do_test_lru() 129 assert(cpu < MAX_NR_CPUS); in do_test_lru()
|
D | map_perf_test_kern.c | 14 #define MAX_NR_CPUS 1024 macro 50 .max_entries = MAX_NR_CPUS,
|
/Linux-v5.4/tools/perf/util/ |
D | svghelper.c | 690 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()
|
D | machine.c | 2615 int nr_cpus = min(machine->env->nr_cpus_online, MAX_NR_CPUS); in machine__get_current_tid() 2627 int nr_cpus = min(machine->env->nr_cpus_online, MAX_NR_CPUS); in machine__set_current_tid()
|
D | session.c | 2306 int nr_cpus = min(session->header.env.nr_cpus_online, MAX_NR_CPUS); in perf_session__cpu_bitmap()
|