Lines Matching refs:hists
35 #include "../browsers/hists.h"
58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter;
64 struct hists *hists = browser->hists;
67 for (nd = rb_first_cached(&hists->entries);
82 struct hists *hists = hb->hists;
83 struct perf_hpp_list *hpp_list = hists->hpp_list;
97 nr_entries = hb->hists->nr_entries;
106 struct hists *hists = hb->hists;
107 struct perf_hpp_list *hpp_list = hists->hpp_list;
132 browser->width = 3 + (hists__sort_list_width(hb->hists) + sizeof("[k]"));
608 nd = rb_first_cached(&browser->hists->entries);
675 struct evsel *evsel = hists_to_evsel(browser->hists);
707 seq++, browser->b.nr_entries, browser->hists->nr_entries,
750 browser->b.entries = &browser->hists->entries;
773 /* for hists browser */
1170 u64 total = hists__total_period(entry->hists);
1328 hists__for_each_format(browser->hists, fmt) {
1336 if (perf_hpp__should_skip(fmt, entry->hists) ||
1419 int hierarchy_indent = (entry->hists->nr_hpp_node - 2) * HIERARCHY_INDENT;
1446 fmt_node = list_first_entry(&entry->hists->hpp_formats,
1456 if (perf_hpp__should_skip(fmt, entry->hists) ||
1577 int indent = browser->hists->nr_hpp_node - 2;
1595 fmt_node = list_first_entry(&browser->hists->hpp_formats,
1598 if (perf_hpp__should_skip(fmt, browser->hists) ||
1602 ret = fmt->width(fmt, NULL, browser->hists);
1646 struct hists *hists = browser->hists;
1656 if (hists__has_callchains(hists) && symbol_conf.use_callchain) {
1662 hists__for_each_format(browser->hists, fmt) {
1663 if (perf_hpp__should_skip(fmt, hists) || column++ < browser->b.horiz_scroll)
1666 ret = fmt->header(fmt, &dummy_hpp, hists, line, &span);
1683 struct hists *hists = browser->hists;
1692 int indent = hists->nr_hpp_node - 2;
1701 fmt_node = list_first_entry(&hists->hpp_formats,
1707 ret = fmt->header(fmt, &dummy_hpp, hists, 0, NULL);
1726 list_for_each_entry_continue(fmt_node, &hists->hpp_formats, list) {
1738 if (perf_hpp__should_skip(fmt, hists))
1748 ret = fmt->header(fmt, &dummy_hpp, hists, 0, NULL);
1779 struct hists *hists = browser->hists;
1780 struct perf_hpp_list *hpp_list = hists->hpp_list;
1810 browser->top = rb_first_cached(&hb->hists->entries);
2069 hists__for_each_format(browser->hists, fmt) {
2070 if (perf_hpp__should_skip(fmt, he->hists))
2107 int hierarchy_indent = (he->hists->nr_hpp_node - 2) * HIERARCHY_INDENT;
2115 fmt_node = list_first_entry(&he->hists->hpp_formats,
2209 struct hists *hists)
2213 browser->hists = hists;
2225 fmt_node = list_first_entry(&hists->hpp_formats,
2233 hists__for_each_format(hists, fmt)
2237 hists__reset_column_width(hists);
2240 struct hist_browser *hist_browser__new(struct hists *hists)
2245 hist_browser__init(browser, hists);
2296 int printed = __hists__scnprintf_title(browser->hists, bf, size, !is_report_browser(hbt));
2446 evsel = hists_to_evsel(browser->hists);
2458 ui_browser__update_nr_entries(&browser->b, browser->hists->nr_entries);
2516 if ((!hists__has(browser->hists, thread) &&
2517 !hists__has(browser->hists, comm)) || thread == NULL)
2520 if (browser->hists->thread_filter) {
2521 pstack__remove(browser->pstack, &browser->hists->thread_filter);
2523 thread__zput(browser->hists->thread_filter);
2529 if (hists__has(browser->hists, thread)) {
2537 browser->hists->thread_filter = thread__get(thread);
2539 pstack__push(browser->pstack, &browser->hists->thread_filter);
2542 hists__filter_by_thread(browser->hists);
2554 if ((!hists__has(browser->hists, thread) &&
2555 !hists__has(browser->hists, comm)) || thread == NULL)
2558 in_out = browser->hists->thread_filter ? "out of" : "into";
2560 if (hists__has(browser->hists, thread)) {
2576 if (!hists__has(browser->hists, dso) || map == NULL)
2579 if (browser->hists->dso_filter) {
2580 pstack__remove(browser->pstack, &browser->hists->dso_filter);
2582 browser->hists->dso_filter = NULL;
2588 browser->hists->dso_filter = dso;
2590 pstack__push(browser->pstack, &browser->hists->dso_filter);
2593 hists__filter_by_dso(browser->hists);
2608 if (!hists__has(browser->hists, dso) || map == NULL)
2612 browser->hists->dso_filter ? "out of" : "into",
2655 if (!hists__has(browser->hists, dso) || map == NULL)
2848 if (!hists__has(browser->hists, socket) || act->socket < 0)
2851 if (browser->hists->socket_filter > -1) {
2852 pstack__remove(browser->pstack, &browser->hists->socket_filter);
2853 browser->hists->socket_filter = -1;
2856 browser->hists->socket_filter = act->socket;
2858 pstack__push(browser->pstack, &browser->hists->socket_filter);
2861 hists__filter_by_socket(browser->hists);
2870 if (!hists__has(browser->hists, socket) || socket_id < 0)
2874 (browser->hists->socket_filter > -1) ? "out of" : "into",
2886 struct rb_node *nd = rb_first_cached(&hb->hists->entries);
2889 hb->nr_non_filtered_entries = hb->hists->nr_non_filtered_entries;
2906 struct rb_node *nd = rb_first_cached(&hb->hists->entries);
2907 u64 total = hists__total_period(hb->hists);
2949 struct hists *hists = evsel__hists(evsel);
3079 if (!hists__has(hists, sym)) {
3159 hists->symbol_filter_str = *buf ? buf : NULL;
3160 hists__filter_by_symbol(hists);
3242 if (top == &browser->hists->dso_filter) {
3249 } else if (top == &browser->hists->thread_filter) {
3251 } else if (top == &browser->hists->socket_filter) {
3283 if (!hists__has(hists, sym) || browser->selection == NULL)
3330 if (hists__has(hists, thread) && thread) {
3345 if (hists__has(hists, sym) && browser->selection->sym) {
3413 struct hists *hists = evsel__hists(evsel);
3415 unsigned long nr_events = hists->stats.nr_samples;
3430 struct hists *pos_hists = evsel__hists(pos);
3496 * default evsel resorted hists tree.
3644 struct hists *hists = evsel__hists(browser->block_evsel);
3646 unsigned long nr_samples = hists->stats.nr_samples;
3660 struct hists *hists = &bh->block_hists;
3667 browser = hist_browser__new(hists);