Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A Dvalues.c190 int *counterwidth; in perf_read_values__display_pretty() local
192 counterwidth = malloc(values->num_counters * sizeof(*counterwidth)); in perf_read_values__display_pretty()
193 if (!counterwidth) { in perf_read_values__display_pretty()
200 counterwidth[j] = strlen(evsel__name(values->counters[j])); in perf_read_values__display_pretty()
212 if (width > counterwidth[j]) in perf_read_values__display_pretty()
213 counterwidth[j] = width; in perf_read_values__display_pretty()
219 fprintf(fp, " %*s", counterwidth[j], evsel__name(values->counters[j])); in perf_read_values__display_pretty()
227 counterwidth[j], values->value[i][j]); in perf_read_values__display_pretty()
230 free(counterwidth); in perf_read_values__display_pretty()