Lines Matching refs:formats
1143 pmu_find_format(struct list_head *formats, const char *name) in pmu_find_format() argument
1147 list_for_each_entry(format, formats, list) in pmu_find_format()
1154 __u64 perf_pmu__format_bits(struct list_head *formats, const char *name) in perf_pmu__format_bits() argument
1156 struct perf_pmu_format *format = pmu_find_format(formats, name); in perf_pmu__format_bits()
1169 int perf_pmu__format_type(struct list_head *formats, const char *name) in perf_pmu__format_type() argument
1171 struct perf_pmu_format *format = pmu_find_format(formats, name); in perf_pmu__format_type()
1240 static char *pmu_formats_string(struct list_head *formats) in pmu_formats_string() argument
1247 if (!formats) in pmu_formats_string()
1251 list_for_each_entry(format, formats, list) in pmu_formats_string()
1267 struct list_head *formats, in pmu_config_term() argument
1291 format = pmu_find_format(formats, term->config); in pmu_config_term()
1293 char *pmu_term = pmu_formats_string(formats); in pmu_config_term()
1387 int perf_pmu__config_terms(const char *pmu_name, struct list_head *formats, in perf_pmu__config_terms() argument
1395 if (pmu_config_term(pmu_name, formats, attr, term, head_terms, in perf_pmu__config_terms()
1562 void perf_pmu__del_formats(struct list_head *formats) in perf_pmu__del_formats() argument
1566 list_for_each_entry_safe(fmt, tmp, formats, list) { in perf_pmu__del_formats()