Lines Matching refs:hpp
1769 struct perf_hpp_fmt hpp; member
1780 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1784 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument
1791 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1796 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header()
1800 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width()
1806 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1814 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument
1820 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
1825 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
1833 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
1843 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
1854 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
1872 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
1893 hse_a = container_of(a, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
1894 hse_b = container_of(b, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
1903 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
1919 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
1920 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
1921 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
1922 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
1923 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
1925 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
1926 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
1927 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
1928 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
1929 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
1931 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
1932 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
1933 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
1934 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
1935 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
1936 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
1973 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
2001 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
2013 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
2018 struct perf_hpp_fmt hpp; member
2027 if (!hde->hpp.len) { in hde_width()
2042 hde->hpp.len = len; in hde_width()
2044 return hde->hpp.len; in hde_width()
2090 static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_header() argument
2098 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_header()
2103 return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name); in __sort__hde_header()
2107 struct perf_hpp *hpp __maybe_unused, in __sort__hde_width()
2113 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_width()
2125 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp__defined_dynamic_entry()
2130 static int __sort__hde_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_entry() argument
2141 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_entry()
2168 return scnprintf(hpp->buf, hpp->size, in __sort__hde_entry()
2187 ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); in __sort__hde_entry()
2199 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_cmp()
2238 hde_a = container_of(a, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2239 hde_b = container_of(b, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2248 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in hde_free()
2268 hde->hpp.name = field->name; in __alloc_dynamic_entry()
2269 hde->hpp.header = __sort__hde_header; in __alloc_dynamic_entry()
2270 hde->hpp.width = __sort__hde_width; in __alloc_dynamic_entry()
2271 hde->hpp.entry = __sort__hde_entry; in __alloc_dynamic_entry()
2272 hde->hpp.color = NULL; in __alloc_dynamic_entry()
2274 hde->hpp.cmp = __sort__hde_cmp; in __alloc_dynamic_entry()
2275 hde->hpp.collapse = __sort__hde_cmp; in __alloc_dynamic_entry()
2276 hde->hpp.sort = __sort__hde_cmp; in __alloc_dynamic_entry()
2277 hde->hpp.equal = __sort__hde_equal; in __alloc_dynamic_entry()
2278 hde->hpp.free = hde_free; in __alloc_dynamic_entry()
2280 INIT_LIST_HEAD(&hde->hpp.list); in __alloc_dynamic_entry()
2281 INIT_LIST_HEAD(&hde->hpp.sort_list); in __alloc_dynamic_entry()
2282 hde->hpp.elide = false; in __alloc_dynamic_entry()
2283 hde->hpp.len = 0; in __alloc_dynamic_entry()
2284 hde->hpp.user_len = 0; in __alloc_dynamic_entry()
2285 hde->hpp.level = level; in __alloc_dynamic_entry()
2297 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2300 new_fmt = &new_hse->hpp; in perf_hpp_fmt__dup()
2304 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp_fmt__dup()
2307 new_fmt = &new_hde->hpp; in perf_hpp_fmt__dup()
2399 perf_hpp__register_sort_field(&hde->hpp); in __dynamic_dimension__add()
2894 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
2954 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()