Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/util/
Dstat-shadow.c17 static struct stats runtime_nsecs_stats[MAX_NR_CPUS];
18 static struct stats runtime_cycles_stats[NUM_CTX][MAX_NR_CPUS];
19 static struct stats runtime_stalled_cycles_front_stats[NUM_CTX][MAX_NR_CPUS];
20 static struct stats runtime_stalled_cycles_back_stats[NUM_CTX][MAX_NR_CPUS];
21 static struct stats runtime_branches_stats[NUM_CTX][MAX_NR_CPUS];
22 static struct stats runtime_cacherefs_stats[NUM_CTX][MAX_NR_CPUS];
23 static struct stats runtime_l1_dcache_stats[NUM_CTX][MAX_NR_CPUS];
24 static struct stats runtime_l1_icache_stats[NUM_CTX][MAX_NR_CPUS];
25 static struct stats runtime_ll_cache_stats[NUM_CTX][MAX_NR_CPUS];
26 static struct stats runtime_itlb_cache_stats[NUM_CTX][MAX_NR_CPUS];
[all …]
Dsvghelper.c691 typedef struct { DECLARE_BITMAP(bits, MAX_NR_CPUS); } cpumask_t;
711 MAX_NR_CPUS) in scan_thread_topology()
726 MAX_NR_CPUS) in scan_core_topology()
743 if (c >= MAX_NR_CPUS) { in str_to_bitmap()
790 topology_map = malloc(sizeof(int) * MAX_NR_CPUS); in svg_build_topology_map()
796 for (i = 0; i < MAX_NR_CPUS; i++) in svg_build_topology_map()
Dcpumap.c65 max_entries = new_max + MAX_NR_CPUS / 2; in cpu_map__read()
76 max_entries += MAX_NR_CPUS; in cpu_map__read()
158 max_entries += MAX_NR_CPUS; in cpu_map__new()
Dstat.c196 memset(counter->per_pkg_mask, 0, MAX_NR_CPUS); in zero_per_pkg()
215 mask = zalloc(MAX_NR_CPUS); in check_per_pkg()
Dmachine.c1957 if (cpu < 0 || cpu >= MAX_NR_CPUS || !machine->current_tid) in machine__get_current_tid()
1974 machine->current_tid = calloc(MAX_NR_CPUS, sizeof(pid_t)); in machine__set_current_tid()
1977 for (i = 0; i < MAX_NR_CPUS; i++) in machine__set_current_tid()
1981 if (cpu >= MAX_NR_CPUS) { in machine__set_current_tid()
Dsession.c1913 if (cpu >= MAX_NR_CPUS) { in perf_session__cpu_bitmap()
/linux-4.4.14/tools/perf/
Dperf.h32 #define MAX_NR_CPUS 1024 macro
Dbuiltin-mem.c21 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-annotate.c46 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-report.c66 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-script.c34 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);