Lines Matching full:hse
2455 struct hpp_sort_entry *hse; in perf_hpp__reset_sort_width() local
2460 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
2461 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in perf_hpp__reset_sort_width()
2468 struct hpp_sort_entry *hse; in __sort__hpp_header() local
2471 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
2474 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_header()
2483 struct hpp_sort_entry *hse; in __sort__hpp_width() local
2486 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
2489 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_width()
2497 struct hpp_sort_entry *hse; in __sort__hpp_entry() local
2500 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
2503 len = hists__col_len(he->hists, hse->se->se_width_idx); in __sort__hpp_entry()
2505 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
2511 struct hpp_sort_entry *hse; in __sort__hpp_cmp() local
2513 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
2514 return hse->se->se_cmp(a, b); in __sort__hpp_cmp()
2520 struct hpp_sort_entry *hse; in __sort__hpp_collapse() local
2523 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
2524 collapse_fn = hse->se->se_collapse ?: hse->se->se_cmp; in __sort__hpp_collapse()
2531 struct hpp_sort_entry *hse; in __sort__hpp_sort() local
2534 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
2535 sort_fn = hse->se->se_sort ?: hse->se->se_cmp; in __sort__hpp_sort()
2547 struct hpp_sort_entry *hse; \
2552 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
2553 return hse->se == &sort_ ## key ; \
2588 struct hpp_sort_entry *hse; in hse_free() local
2590 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
2591 free(hse); in hse_free()
2596 struct hpp_sort_entry *hse; in hse_init() local
2601 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_init()
2603 if (hse->se->se_init) in hse_init()
2604 hse->se->se_init(he); in hse_init()
2610 struct hpp_sort_entry *hse; in __sort_dimension__alloc_hpp() local
2612 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
2613 if (hse == NULL) { in __sort_dimension__alloc_hpp()
2618 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
2619 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
2620 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
2621 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
2622 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
2623 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
2625 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
2626 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
2627 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
2628 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
2629 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
2630 hse->hpp.init = hse_init; in __sort_dimension__alloc_hpp()
2632 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
2633 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
2634 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
2635 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
2636 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
2637 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
2639 return hse; in __sort_dimension__alloc_hpp()
2666 struct hpp_sort_entry *hse; in hist_entry__filter() local
2674 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
2675 if (hse->se->se_filter == NULL) in hist_entry__filter()
2682 r = hse->se->se_filter(he, type, arg); in hist_entry__filter()
2697 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); in __sort_dimension__add_hpp_sort() local
2699 if (hse == NULL) in __sort_dimension__add_hpp_sort()
2702 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
2709 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, 0); in __sort_dimension__add_hpp_output() local
2711 if (hse == NULL) in __sort_dimension__add_hpp_output()
2714 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
3016 struct hpp_sort_entry *hse, *new_hse; in perf_hpp_fmt__dup() local
3018 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
3019 new_hse = memdup(hse, sizeof(*hse)); in perf_hpp_fmt__dup()
3652 struct hpp_sort_entry *hse; in perf_hpp__set_elide() local
3658 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
3659 if (hse->se->se_width_idx == idx) { in perf_hpp__set_elide()
3716 struct hpp_sort_entry *hse; in sort__setup_elide() local
3722 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()
3723 fmt->elide = get_elide(hse->se->se_width_idx, output); in sort__setup_elide()