Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/
Dperf.h28 #ifndef MAX_NR_CPUS
29 #define MAX_NR_CPUS 1024 macro
Dbuiltin-mem.c30 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-annotate.c50 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-report.c86 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-script.c61 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
/Linux-v4.19/tools/perf/util/
Dsvghelper.c692 typedef struct { DECLARE_BITMAP(bits, MAX_NR_CPUS); } cpumask_t;
712 MAX_NR_CPUS) in scan_thread_topology()
727 MAX_NR_CPUS) in scan_core_topology()
744 if (c >= MAX_NR_CPUS) { in str_to_bitmap()
791 topology_map = malloc(sizeof(int) * MAX_NR_CPUS); in svg_build_topology_map()
797 for (i = 0; i < MAX_NR_CPUS; i++) in svg_build_topology_map()
Dcpumap.c75 max_entries = new_max + MAX_NR_CPUS / 2; in cpu_map__read()
86 max_entries += MAX_NR_CPUS; in cpu_map__read()
168 max_entries += MAX_NR_CPUS; in cpu_map__new()
Dstat.c210 memset(counter->per_pkg_mask, 0, MAX_NR_CPUS); in zero_per_pkg()
229 mask = zalloc(MAX_NR_CPUS); in check_per_pkg()
Dmachine.c2462 if (cpu < 0 || cpu >= MAX_NR_CPUS || !machine->current_tid) in machine__get_current_tid()
2479 machine->current_tid = calloc(MAX_NR_CPUS, sizeof(pid_t)); in machine__set_current_tid()
2482 for (i = 0; i < MAX_NR_CPUS; i++) in machine__set_current_tid()
2486 if (cpu >= MAX_NR_CPUS) { in machine__set_current_tid()
Dsession.c2080 if (cpu >= MAX_NR_CPUS) { in perf_session__cpu_bitmap()
/Linux-v4.19/samples/bpf/
Dmap_perf_test_user.c28 #define MAX_NR_CPUS 1024 macro
121 static int inner_lru_map_fds[MAX_NR_CPUS]; in do_test_lru()
132 assert(cpu < MAX_NR_CPUS); in do_test_lru()
Dmap_perf_test_kern.c14 #define MAX_NR_CPUS 1024 macro
50 .max_entries = MAX_NR_CPUS,