Lines Matching refs:hpp

1944 	struct perf_hpp_fmt hpp;  member
1955 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1959 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument
1966 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1971 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header()
1975 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width()
1981 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1989 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument
1995 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
2000 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
2008 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
2018 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
2029 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
2047 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
2068 hse_a = container_of(a, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
2069 hse_b = container_of(b, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
2078 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
2094 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
2095 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
2096 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
2097 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
2098 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
2100 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
2101 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
2102 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
2103 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
2104 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
2106 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
2107 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
2108 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
2109 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
2110 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
2111 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
2148 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
2176 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
2188 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
2193 struct perf_hpp_fmt hpp; member
2202 if (!hde->hpp.len) { in hde_width()
2217 hde->hpp.len = len; in hde_width()
2219 return hde->hpp.len; in hde_width()
2265 static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_header() argument
2273 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_header()
2278 return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name); in __sort__hde_header()
2282 struct perf_hpp *hpp __maybe_unused, in __sort__hde_width()
2288 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_width()
2300 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp__defined_dynamic_entry()
2305 static int __sort__hde_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_entry() argument
2316 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_entry()
2343 return scnprintf(hpp->buf, hpp->size, in __sort__hde_entry()
2362 ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); in __sort__hde_entry()
2374 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_cmp()
2413 hde_a = container_of(a, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2414 hde_b = container_of(b, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2423 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in hde_free()
2443 hde->hpp.name = field->name; in __alloc_dynamic_entry()
2444 hde->hpp.header = __sort__hde_header; in __alloc_dynamic_entry()
2445 hde->hpp.width = __sort__hde_width; in __alloc_dynamic_entry()
2446 hde->hpp.entry = __sort__hde_entry; in __alloc_dynamic_entry()
2447 hde->hpp.color = NULL; in __alloc_dynamic_entry()
2449 hde->hpp.cmp = __sort__hde_cmp; in __alloc_dynamic_entry()
2450 hde->hpp.collapse = __sort__hde_cmp; in __alloc_dynamic_entry()
2451 hde->hpp.sort = __sort__hde_cmp; in __alloc_dynamic_entry()
2452 hde->hpp.equal = __sort__hde_equal; in __alloc_dynamic_entry()
2453 hde->hpp.free = hde_free; in __alloc_dynamic_entry()
2455 INIT_LIST_HEAD(&hde->hpp.list); in __alloc_dynamic_entry()
2456 INIT_LIST_HEAD(&hde->hpp.sort_list); in __alloc_dynamic_entry()
2457 hde->hpp.elide = false; in __alloc_dynamic_entry()
2458 hde->hpp.len = 0; in __alloc_dynamic_entry()
2459 hde->hpp.user_len = 0; in __alloc_dynamic_entry()
2460 hde->hpp.level = level; in __alloc_dynamic_entry()
2472 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2475 new_fmt = &new_hse->hpp; in perf_hpp_fmt__dup()
2479 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp_fmt__dup()
2482 new_fmt = &new_hde->hpp; in perf_hpp_fmt__dup()
2574 perf_hpp__register_sort_field(&hde->hpp); in __dynamic_dimension__add()
3087 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
3147 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()