Home
last modified time | relevance | path

Searched refs:mask_size (Results 1 – 4 of 4) sorted by relevance

/tools/perf/
Dbuiltin-ftrace.c302 size_t mask_size; in set_tracing_cpumask() local
307 mask_size = last_cpu / 4 + 2; /* one more byte for EOS */ in set_tracing_cpumask()
308 mask_size += last_cpu / 32; /* ',' is needed for every 32th cpus */ in set_tracing_cpumask()
310 cpumask = malloc(mask_size); in set_tracing_cpumask()
316 cpu_map__snprint_mask(cpumap, cpumask, mask_size); in set_tracing_cpumask()
/tools/power/x86/intel-speed-select/
Disst-display.c9 static void printcpulist(int str_len, char *str, int mask_size, in printcpulist() argument
14 if (!CPU_COUNT_S(mask_size, cpu_mask)) { in printcpulist()
22 if (!CPU_ISSET_S(i, mask_size, cpu_mask)) in printcpulist()
40 static void printcpumask(int str_len, char *str, int mask_size, in printcpumask() argument
58 if (!CPU_ISSET_S(i, mask_size, cpu_mask)) in printcpumask()
Disst-config.c1637 static int set_core_priority_and_min(int cpu, int mask_size, in set_core_priority_and_min() argument
1643 if (!CPU_COUNT_S(mask_size, cpu_mask)) in set_core_priority_and_min()
1671 if (CPU_ISSET_S(i, mask_size, cpu_mask)) in set_core_priority_and_min()
/tools/perf/util/
Dsynthetic-events.c1219 static size_t mask_size(struct perf_cpu_map *map, int *max) in mask_size() function
1255 size_mask = mask_size(map, max); in cpu_map_data__alloc()