Lines Matching defs:fmt
1250 struct perf_hpp_fmt *fmt;
1253 hists__for_each_sort_list(hists, fmt) {
1254 if (perf_hpp__is_dynamic_entry(fmt) &&
1255 !perf_hpp__defined_dynamic_entry(fmt, hists))
1258 cmp = fmt->cmp(fmt, left, right);
1270 struct perf_hpp_fmt *fmt;
1273 hists__for_each_sort_list(hists, fmt) {
1274 if (perf_hpp__is_dynamic_entry(fmt) &&
1275 !perf_hpp__defined_dynamic_entry(fmt, hists))
1278 cmp = fmt->collapse(fmt, left, right);
1329 struct perf_hpp_fmt *fmt, int printed)
1331 if (!list_is_last(&fmt->list, &he->hists->hpp_list->fields)) {
1332 const int width = fmt->width(fmt, hpp, he->hists);
1350 typedef bool (*fmt_chk_fn)(struct perf_hpp_fmt *fmt);
1352 static bool check_thread_entry(struct perf_hpp_fmt *fmt)
1354 return perf_hpp__is_thread_entry(fmt) || perf_hpp__is_comm_entry(fmt);
1361 struct perf_hpp_fmt *fmt;
1389 /* if it's filtered by own fmt, it has to have filter bits */
1390 perf_hpp_list__for_each_format(he->hpp_list, fmt) {
1391 if (check(fmt)) {
1450 struct perf_hpp_fmt *fmt;
1459 perf_hpp_list__for_each_sort_list(hpp_list, fmt) {
1460 cmp = fmt->collapse(fmt, iter, he);
1491 perf_hpp_list__for_each_sort_list(hpp_list, fmt) {
1492 if (perf_hpp__is_trace_entry(fmt) || perf_hpp__is_dynamic_entry(fmt))
1497 if (perf_hpp__is_srcline_entry(fmt))
1502 if (perf_hpp__is_srcfile_entry(fmt))
1528 /* insert copy of 'he' for each fmt into the hierarchy */
1678 struct perf_hpp_fmt *fmt;
1681 hists__for_each_sort_list(hists, fmt) {
1682 if (perf_hpp__should_skip(fmt, a->hists))
1685 cmp = fmt->sort(fmt, a, b);
1753 struct perf_hpp_fmt *fmt;
1772 perf_hpp_list__for_each_sort_list(he->hpp_list, fmt) {
1773 if (perf_hpp__is_dynamic_entry(fmt))
1774 fmt->sort(fmt, he, NULL);
1840 struct perf_hpp_fmt *fmt;
1871 perf_hpp_list__for_each_sort_list(&perf_hpp_list, fmt) {
1872 if (perf_hpp__is_dynamic_entry(fmt) &&
1873 perf_hpp__defined_dynamic_entry(fmt, he->hists))
1874 fmt->sort(fmt, he, NULL); /* update column width */
2379 struct perf_hpp_fmt *fmt;
2389 perf_hpp_list__for_each_sort_list(he->hpp_list, fmt) {
2390 cmp = fmt->collapse(fmt, he, pair);
2451 struct perf_hpp_fmt *fmt;
2455 perf_hpp_list__for_each_sort_list(he->hpp_list, fmt) {
2456 cmp = fmt->collapse(fmt, iter, he);
2822 struct perf_hpp_fmt *fmt, *pos;
2828 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) {
2829 list_del_init(&fmt->list);
2830 free(fmt);