Lines Matching refs:hpp
2209 struct perf_hpp_fmt hpp; member
2220 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
2224 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument
2231 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
2236 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header()
2240 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width()
2246 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
2254 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument
2260 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
2265 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
2273 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
2283 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
2294 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
2312 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
2340 hse_a = container_of(a, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
2341 hse_b = container_of(b, struct hpp_sort_entry, hpp); in MK_SORT_ENTRY_CHK()
2350 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
2361 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_init()
2379 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
2380 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
2381 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
2382 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
2383 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
2385 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
2386 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
2387 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
2388 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
2389 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
2390 hse->hpp.init = hse_init; in __sort_dimension__alloc_hpp()
2392 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
2393 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
2394 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
2395 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
2396 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
2397 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
2434 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
2462 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
2474 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
2490 struct perf_hpp_fmt hpp; member
2499 if (!hde->hpp.len) { in hde_width()
2514 hde->hpp.len = len; in hde_width()
2516 return hde->hpp.len; in hde_width()
2562 static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_header() argument
2570 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_header()
2575 return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name); in __sort__hde_header()
2579 struct perf_hpp *hpp __maybe_unused, in __sort__hde_width()
2585 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_width()
2597 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp__defined_dynamic_entry()
2602 static int __sort__hde_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hde_entry() argument
2613 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_entry()
2640 return scnprintf(hpp->buf, hpp->size, in __sort__hde_entry()
2659 ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); in __sort__hde_entry()
2671 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_cmp()
2706 hde_a = container_of(a, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2707 hde_b = container_of(b, struct hpp_dynamic_entry, hpp); in __sort__hde_equal()
2716 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in hde_free()
2727 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in __sort__hde_init()
2747 hde->hpp.name = field->name; in __alloc_dynamic_entry()
2748 hde->hpp.header = __sort__hde_header; in __alloc_dynamic_entry()
2749 hde->hpp.width = __sort__hde_width; in __alloc_dynamic_entry()
2750 hde->hpp.entry = __sort__hde_entry; in __alloc_dynamic_entry()
2751 hde->hpp.color = NULL; in __alloc_dynamic_entry()
2753 hde->hpp.init = __sort__hde_init; in __alloc_dynamic_entry()
2754 hde->hpp.cmp = __sort__hde_cmp; in __alloc_dynamic_entry()
2755 hde->hpp.collapse = __sort__hde_cmp; in __alloc_dynamic_entry()
2756 hde->hpp.sort = __sort__hde_cmp; in __alloc_dynamic_entry()
2757 hde->hpp.equal = __sort__hde_equal; in __alloc_dynamic_entry()
2758 hde->hpp.free = hde_free; in __alloc_dynamic_entry()
2760 INIT_LIST_HEAD(&hde->hpp.list); in __alloc_dynamic_entry()
2761 INIT_LIST_HEAD(&hde->hpp.sort_list); in __alloc_dynamic_entry()
2762 hde->hpp.elide = false; in __alloc_dynamic_entry()
2763 hde->hpp.len = 0; in __alloc_dynamic_entry()
2764 hde->hpp.user_len = 0; in __alloc_dynamic_entry()
2765 hde->hpp.level = level; in __alloc_dynamic_entry()
2778 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2781 new_fmt = &new_hse->hpp; in perf_hpp_fmt__dup()
2786 hde = container_of(fmt, struct hpp_dynamic_entry, hpp); in perf_hpp_fmt__dup()
2789 new_fmt = &new_hde->hpp; in perf_hpp_fmt__dup()
2883 perf_hpp__register_sort_field(&hde->hpp); in __dynamic_dimension__add()
3416 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
3480 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()