Lines Matching refs:hpp

2449 	struct perf_hpp_fmt hpp;
2460 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2464 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
2471 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2476 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name);
2480 struct perf_hpp *hpp __maybe_unused,
2486 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2494 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
2500 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2505 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len);
2513 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2523 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2534 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2552 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
2580 hse_a = container_of(a, struct hpp_sort_entry, hpp);
2581 hse_b = container_of(b, struct hpp_sort_entry, hpp);
2590 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2601 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2619 hse->hpp.name = sd->entry->se_header;
2620 hse->hpp.header = __sort__hpp_header;
2621 hse->hpp.width = __sort__hpp_width;
2622 hse->hpp.entry = __sort__hpp_entry;
2623 hse->hpp.color = NULL;
2625 hse->hpp.cmp = __sort__hpp_cmp;
2626 hse->hpp.collapse = __sort__hpp_collapse;
2627 hse->hpp.sort = __sort__hpp_sort;
2628 hse->hpp.equal = __sort__hpp_equal;
2629 hse->hpp.free = hse_free;
2630 hse->hpp.init = hse_init;
2632 INIT_LIST_HEAD(&hse->hpp.list);
2633 INIT_LIST_HEAD(&hse->hpp.sort_list);
2634 hse->hpp.elide = false;
2635 hse->hpp.len = 0;
2636 hse->hpp.user_len = 0;
2637 hse->hpp.level = level;
2674 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2679 * hist entry is filtered if any of sort key in the hpp list
2702 perf_hpp_list__register_sort_field(list, &hse->hpp);
2714 perf_hpp_list__column_register(list, &hse->hpp);
2730 struct perf_hpp_fmt hpp;
2739 if (!hde->hpp.len) {
2754 hde->hpp.len = len;
2756 return hde->hpp.len;
2802 static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
2810 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
2815 return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name);
2819 struct perf_hpp *hpp __maybe_unused,
2825 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
2837 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
2842 static int __sort__hde_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
2853 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
2880 return scnprintf(hpp->buf, hpp->size,
2899 ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str);
2911 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
2946 hde_a = container_of(a, struct hpp_dynamic_entry, hpp);
2947 hde_b = container_of(b, struct hpp_dynamic_entry, hpp);
2956 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
2967 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
2987 hde->hpp.name = field->name;
2988 hde->hpp.header = __sort__hde_header;
2989 hde->hpp.width = __sort__hde_width;
2990 hde->hpp.entry = __sort__hde_entry;
2991 hde->hpp.color = NULL;
2993 hde->hpp.init = __sort__hde_init;
2994 hde->hpp.cmp = __sort__hde_cmp;
2995 hde->hpp.collapse = __sort__hde_cmp;
2996 hde->hpp.sort = __sort__hde_cmp;
2997 hde->hpp.equal = __sort__hde_equal;
2998 hde->hpp.free = hde_free;
3000 INIT_LIST_HEAD(&hde->hpp.list);
3001 INIT_LIST_HEAD(&hde->hpp.sort_list);
3002 hde->hpp.elide = false;
3003 hde->hpp.len = 0;
3004 hde->hpp.user_len = 0;
3005 hde->hpp.level = level;
3018 hse = container_of(fmt, struct hpp_sort_entry, hpp);
3021 new_fmt = &new_hse->hpp;
3026 hde = container_of(fmt, struct hpp_dynamic_entry, hpp);
3029 new_fmt = &new_hde->hpp;
3123 perf_hpp__register_sort_field(&hde->hpp);
3658 hse = container_of(fmt, struct hpp_sort_entry, hpp);
3722 hse = container_of(fmt, struct hpp_sort_entry, hpp);
3883 * perf diff doesn't use default hpp output fields.