Searched refs:MAX_NR_CPUS (Results 1 – 14 of 14) sorted by relevance
/linux/tools/lib/perf/ |
A D | cpumap.c | 122 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read() 123 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__read() 126 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read() 137 max_entries += MAX_NR_CPUS; in perf_cpu_map__read() 217 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new() 218 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new() 227 max_entries += MAX_NR_CPUS; in perf_cpu_map__new()
|
/linux/tools/lib/perf/include/internal/ |
A D | cpumap.h | 13 #ifndef MAX_NR_CPUS 14 #define MAX_NR_CPUS 2048 macro
|
/linux/tools/perf/ |
A D | perf.h | 7 #ifndef MAX_NR_CPUS 8 #define MAX_NR_CPUS 2048 macro
|
A D | builtin-mem.c | 38 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
A D | builtin-annotate.c | 55 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
A D | builtin-report.c | 104 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
A D | builtin-diff.c | 103 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
A D | builtin-sched.c | 55 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
A D | builtin-script.c | 79 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
/linux/samples/bpf/ |
A D | map_perf_test_user.c | 24 #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()
|
A D | map_perf_test_kern.c | 17 #define MAX_NR_CPUS 1024 macro 52 __uint(max_entries, MAX_NR_CPUS);
|
/linux/tools/perf/util/ |
A 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()
|
A D | machine.c | 3036 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__get_current_tid() 3048 int nr_cpus = min(machine->env->nr_cpus_avail, MAX_NR_CPUS); in machine__set_current_tid()
|
A D | session.c | 2517 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()
|
Completed in 52 milliseconds