Lines Matching refs:hse
1391 struct hpp_sort_entry *hse; in perf_hpp__reset_sort_width() local
1396 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1397 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in perf_hpp__reset_sort_width()
1403 struct hpp_sort_entry *hse; in __sort__hpp_header() local
1406 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1409 len = hists__col_len(evsel__hists(evsel), hse->se->se_width_idx); in __sort__hpp_header()
1418 struct hpp_sort_entry *hse; in __sort__hpp_width() local
1421 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1424 len = hists__col_len(evsel__hists(evsel), hse->se->se_width_idx); in __sort__hpp_width()
1432 struct hpp_sort_entry *hse; in __sort__hpp_entry() local
1435 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
1438 len = hists__col_len(he->hists, hse->se->se_width_idx); in __sort__hpp_entry()
1440 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
1446 struct hpp_sort_entry *hse; in __sort__hpp_cmp() local
1448 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
1449 return hse->se->se_cmp(a, b); in __sort__hpp_cmp()
1455 struct hpp_sort_entry *hse; in __sort__hpp_collapse() local
1458 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
1459 collapse_fn = hse->se->se_collapse ?: hse->se->se_cmp; in __sort__hpp_collapse()
1466 struct hpp_sort_entry *hse; in __sort__hpp_sort() local
1469 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
1470 sort_fn = hse->se->se_sort ?: hse->se->se_cmp; in __sort__hpp_sort()
1477 struct hpp_sort_entry *hse; in __sort_dimension__alloc_hpp() local
1479 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
1480 if (hse == NULL) { in __sort_dimension__alloc_hpp()
1485 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
1486 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
1487 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
1488 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
1489 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
1490 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
1492 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
1493 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
1494 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
1496 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
1497 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
1498 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
1499 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
1500 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
1502 return hse; in __sort_dimension__alloc_hpp()
1512 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd); in __sort_dimension__add_hpp_sort() local
1514 if (hse == NULL) in __sort_dimension__add_hpp_sort()
1517 perf_hpp__register_sort_field(&hse->hpp); in __sort_dimension__add_hpp_sort()
1523 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd); in __sort_dimension__add_hpp_output() local
1525 if (hse == NULL) in __sort_dimension__add_hpp_output()
1528 perf_hpp__column_register(&hse->hpp); in __sort_dimension__add_hpp_output()
1763 struct hpp_sort_entry *hse; in perf_hpp__set_elide() local
1769 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
1770 if (hse->se->se_width_idx == idx) { in perf_hpp__set_elide()
1823 struct hpp_sort_entry *hse; in sort__setup_elide() local
1829 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()
1830 fmt->elide = get_elide(hse->se->se_width_idx, output); in sort__setup_elide()