Lines Matching refs:hpp
1636 struct perf_hpp_fmt hpp; member
1647 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1651 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument
1658 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1663 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header()
1667 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width()
1673 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1681 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument
1687 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
1692 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
1700 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
1710 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
1721 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
1739 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
1760 hse_a = container_of(a, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
1761 hse_b = container_of(b, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
1770 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
1786 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
1787 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
1788 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
1789 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
1790 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
1792 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
1793 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
1794 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
1795 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
1796 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
1798 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
1799 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
1800 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
1801 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
1802 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
1803 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
1840 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
1868 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
1880 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
1885 struct perf_hpp_fmt hpp; member
1894 if (!hde->hpp.len) { in hde_width()
1909 hde->hpp.len = len; in hde_width()
1911 return hde->hpp.len; in hde_width()
1957 static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_header() argument
1965 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_header()
1970 return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name); in __sort__hde_header()
1974 struct perf_hpp *hpp __maybe_unused, in __sort__hde_width()
1980 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_width()
1992 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp__defined_dynamic_entry()
1997 static int __sort__hde_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_entry() argument
2008 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_entry()
2035 return scnprintf(hpp->buf, hpp->size, in __sort__hde_entry()
2054 ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); in __sort__hde_entry()
2066 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_cmp()
2105 hde_a = container_of(a, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2106 hde_b = container_of(b, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2115 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in hde_free()
2135 hde->hpp.name = field->name; in __alloc_dynamic_entry()
2136 hde->hpp.header = __sort__hde_header; in __alloc_dynamic_entry()
2137 hde->hpp.width = __sort__hde_width; in __alloc_dynamic_entry()
2138 hde->hpp.entry = __sort__hde_entry; in __alloc_dynamic_entry()
2139 hde->hpp.color = NULL; in __alloc_dynamic_entry()
2141 hde->hpp.cmp = __sort__hde_cmp; in __alloc_dynamic_entry()
2142 hde->hpp.collapse = __sort__hde_cmp; in __alloc_dynamic_entry()
2143 hde->hpp.sort = __sort__hde_cmp; in __alloc_dynamic_entry()
2144 hde->hpp.equal = __sort__hde_equal; in __alloc_dynamic_entry()
2145 hde->hpp.free = hde_free; in __alloc_dynamic_entry()
2147 INIT_LIST_HEAD(&hde->hpp.list); in __alloc_dynamic_entry()
2148 INIT_LIST_HEAD(&hde->hpp.sort_list); in __alloc_dynamic_entry()
2149 hde->hpp.elide = false; in __alloc_dynamic_entry()
2150 hde->hpp.len = 0; in __alloc_dynamic_entry()
2151 hde->hpp.user_len = 0; in __alloc_dynamic_entry()
2152 hde->hpp.level = level; in __alloc_dynamic_entry()
2164 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2167 new_fmt = &new_hse->hpp; in perf_hpp_fmt__dup()
2171 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp_fmt__dup()
2174 new_fmt = &new_hde->hpp; in perf_hpp_fmt__dup()
2266 perf_hpp__register_sort_field(&hde->hpp); in __dynamic_dimension__add()
2761 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
2821 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()