Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/
H A Dperf.h5 #ifndef MAX_NR_CPUS
6 #define MAX_NR_CPUS 2048 macro
H A Dbuiltin-mem.c39 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
H A Dbuiltin-annotate.c61 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
H A Dbuiltin-report.c113 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
H A Dbuiltin-diff.c103 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
H A Dbuiltin-sched.c56 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
H A Dbuiltin-script.c84 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
/openbmc/linux/tools/lib/perf/include/internal/
H A Dcpumap.h24 #ifndef MAX_NR_CPUS
25 #define MAX_NR_CPUS 2048 macro
/openbmc/linux/tools/lib/perf/
H A 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()
/openbmc/linux/samples/bpf/
H A 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()
H A Dmap_perf_test.bpf.c15 #define MAX_NR_CPUS 1024 macro
50 __uint(max_entries, MAX_NR_CPUS);
/openbmc/linux/tools/perf/util/
H A Dkwork.h187 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
H A 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()
H A Dsession.c2729 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()