Lines Matching refs:top
29 #include "../../util/top.h"
661 " perf top -r 80\n\n"
702 struct hist_entry *h = rb_entry(browser->b.top, struct hist_entry, rb_node);
1806 if (browser->top == NULL) {
1810 browser->top = rb_first_cached(&hb->hists->entries);
1827 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) {
1926 nd = browser->top;
1941 h = rb_entry(browser->top, struct hist_entry, rb_node);
1946 * the next top level hist_entry, instead we must compute an offset of
1949 * This offset increments when we are going from top to bottom and
1950 * decreases when we're going from bottom to top.
1952 * As we don't have backpointers to the top level in the callchains
1972 browser->top = nd;
1981 browser->top = nd;
1994 browser->top = nd;
2004 browser->top = nd;
2015 browser->top = nd;
2030 browser->top = nd;
2287 /* Check whether the browser is for 'top' or 'report' */
2299 struct perf_top *top = hbt->arg;
2303 top->lost, top->lost_total);
2307 top->drop, top->drop_total);
2309 if (top->zero)
2312 perf_top__reset_sample_counters(top);
3179 /* env->arch is NULL for live-mode (i.e. perf top) */
3188 struct perf_top *top = hbt->arg;
3190 top->zero = !top->zero;
3224 const void *top;
3241 top = pstack__peek(browser->pstack);
3242 if (top == &browser->hists->dso_filter) {
3249 } else if (top == &browser->hists->thread_filter) {
3251 } else if (top == &browser->hists->socket_filter) {
3261 struct perf_top *top = hbt->arg;
3263 evlist__toggle_enable(top->evlist);
3268 if (top->evlist->enabled) {