Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-ftrace.c174 size_t mask_size; in set_tracing_cpumask() local
179 mask_size = last_cpu / 4 + 2; /* one more byte for EOS */ in set_tracing_cpumask()
180 mask_size += last_cpu / 32; /* ',' is needed for every 32th cpus */ in set_tracing_cpumask()
182 cpumask = malloc(mask_size); in set_tracing_cpumask()
188 cpu_map__snprint_mask(cpumap, cpumask, mask_size); in set_tracing_cpumask()
/tools/power/x86/intel-speed-select/
Disst-display.c11 static void printcpulist(int str_len, char *str, int mask_size, in printcpulist() argument
16 if (!CPU_COUNT_S(mask_size, cpu_mask)) { in printcpulist()
24 if (!CPU_ISSET_S(i, mask_size, cpu_mask)) in printcpulist()
38 static void printcpumask(int str_len, char *str, int mask_size, in printcpumask() argument
56 if (!CPU_ISSET_S(i, mask_size, cpu_mask)) in printcpumask()
/tools/perf/util/
Dsynthetic-events.c946 static size_t mask_size(struct perf_cpu_map *map, int *max) in mask_size() function
982 size_mask = mask_size(map, max); in cpu_map_data__alloc()