Home
last modified time | relevance | path

Searched refs:counters_max (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dvalues.c24 values->counters_max = 16; in perf_read_values_init()
25 values->counterrawid = malloc(values->counters_max in perf_read_values_init()
27 values->countername = malloc(values->counters_max in perf_read_values_init()
51 if (!values->threads_max || !values->counters_max) in perf_read_values_destroy()
105 values->value[i] = zalloc(values->counters_max * sizeof(**values->value)); in perf_read_values__findnew_thread()
120 int i, counters_max = values->counters_max * 2; in perf_read_values__enlarge_counters() local
128 countername = realloc(values->countername, counters_max * sizeof(*values->countername)); in perf_read_values__enlarge_counters()
135 u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value)); in perf_read_values__enlarge_counters()
143 for (j = values->counters_max; j < counters_max; j++) in perf_read_values__enlarge_counters()
149 values->counters_max = counters_max; in perf_read_values__enlarge_counters()
[all …]
H A Dvalues.h12 int counters_max; member