Searched refs:stat_defs (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | veristat.c | 670 } stat_defs[] = { variable 701 for (i = 0; i < ARRAY_SIZE(stat_defs); i++) { in parse_stat_id_var() 702 struct stat_def *def = &stat_defs[i]; in parse_stat_id_var() 706 for (j = 0; j < ARRAY_SIZE(stat_defs[i].names); j++) { in parse_stat_id_var() 778 specs->asc[specs->spec_cnt] = has_order ? is_asc : stat_defs[id].asc_by_default; in parse_stat() 1331 len = snprintf(NULL, 0, "%s", stat_defs[id].header); in output_headers() 1336 fmt_str = stat_defs[id].left_aligned ? "%s%-*s" : "%s%*s"; in output_headers() 1337 printf(fmt_str, i == 0 ? "" : COLUMN_SEP, *max_len, stat_defs[id].header); in output_headers() 1342 printf("%s%s", i == 0 ? "" : ",", stat_defs[id].names[0]); in output_headers() 1625 len = snprintf(NULL, 0, "%s%s", stat_defs[id].header, sfx); in output_comp_headers() [all …]
|