browser          2321 tools/perf/builtin-c2c.c perf_c2c_cacheline_browser__title(struct hist_browser *browser,
browser          2328 tools/perf/builtin-c2c.c 	cl_browser = container_of(browser, struct c2c_cacheline_browser, hb);
browser          2341 tools/perf/builtin-c2c.c 	struct c2c_cacheline_browser *browser;
browser          2343 tools/perf/builtin-c2c.c 	browser = zalloc(sizeof(*browser));
browser          2344 tools/perf/builtin-c2c.c 	if (browser) {
browser          2345 tools/perf/builtin-c2c.c 		hist_browser__init(&browser->hb, hists);
browser          2346 tools/perf/builtin-c2c.c 		browser->hb.c2c_filter	= true;
browser          2347 tools/perf/builtin-c2c.c 		browser->hb.title	= perf_c2c_cacheline_browser__title;
browser          2348 tools/perf/builtin-c2c.c 		browser->he		= he;
browser          2351 tools/perf/builtin-c2c.c 	return browser;
browser          2359 tools/perf/builtin-c2c.c 	struct hist_browser *browser;
browser          2380 tools/perf/builtin-c2c.c 	browser = &cl_browser->hb;
browser          2386 tools/perf/builtin-c2c.c 	c2c_browser__update_nr_entries(browser);
browser          2389 tools/perf/builtin-c2c.c 		key = hist_browser__run(browser, "? - help", true);
browser          2402 tools/perf/builtin-c2c.c 			ui_browser__help_window(&browser->b, help);
browser          2414 tools/perf/builtin-c2c.c static int perf_c2c_browser__title(struct hist_browser *browser,
browser          2420 tools/perf/builtin-c2c.c 		  browser->nr_non_filtered_entries,
browser          2428 tools/perf/builtin-c2c.c 	struct hist_browser *browser = hist_browser__new(hists);
browser          2430 tools/perf/builtin-c2c.c 	if (browser) {
browser          2431 tools/perf/builtin-c2c.c 		browser->title = perf_c2c_browser__title;
browser          2432 tools/perf/builtin-c2c.c 		browser->c2c_filter = true;
browser          2435 tools/perf/builtin-c2c.c 	return browser;
browser          2440 tools/perf/builtin-c2c.c 	struct hist_browser *browser;
browser          2447 tools/perf/builtin-c2c.c 	browser = perf_c2c_browser__new(hists);
browser          2448 tools/perf/builtin-c2c.c 	if (browser == NULL)
browser          2455 tools/perf/builtin-c2c.c 	c2c_browser__update_nr_entries(browser);
browser          2458 tools/perf/builtin-c2c.c 		key = hist_browser__run(browser, "? - help", true);
browser          2464 tools/perf/builtin-c2c.c 			perf_c2c__browse_cacheline(browser->he_selection);
browser          2467 tools/perf/builtin-c2c.c 			ui_browser__help_window(&browser->b, help);
browser          2475 tools/perf/builtin-c2c.c 	hist_browser__delete(browser);
browser            20 tools/perf/ui/browser.c static int ui_browser__percent_color(struct ui_browser *browser,
browser            23 tools/perf/ui/browser.c 	if (current && (!browser->use_navkeypressed || browser->navkeypressed))
browser            32 tools/perf/ui/browser.c int ui_browser__set_color(struct ui_browser *browser, int color)
browser            34 tools/perf/ui/browser.c 	int ret = browser->current_color;
browser            35 tools/perf/ui/browser.c 	browser->current_color = color;
browser            40 tools/perf/ui/browser.c void ui_browser__set_percent_color(struct ui_browser *browser,
browser            43 tools/perf/ui/browser.c 	 int color = ui_browser__percent_color(browser, percent, current);
browser            44 tools/perf/ui/browser.c 	 ui_browser__set_color(browser, color);
browser            47 tools/perf/ui/browser.c void ui_browser__gotorc_title(struct ui_browser *browser, int y, int x)
browser            49 tools/perf/ui/browser.c 	SLsmg_gotorc(browser->y + y, browser->x + x);
browser            52 tools/perf/ui/browser.c void ui_browser__gotorc(struct ui_browser *browser, int y, int x)
browser            54 tools/perf/ui/browser.c 	SLsmg_gotorc(browser->y + y + browser->extra_title_lines, browser->x + x);
browser            57 tools/perf/ui/browser.c void ui_browser__write_nstring(struct ui_browser *browser __maybe_unused, const char *msg,
browser            63 tools/perf/ui/browser.c void ui_browser__vprintf(struct ui_browser *browser __maybe_unused, const char *fmt, va_list args)
browser            68 tools/perf/ui/browser.c void ui_browser__printf(struct ui_browser *browser __maybe_unused, const char *fmt, ...)
browser            73 tools/perf/ui/browser.c 	ui_browser__vprintf(browser, fmt, args);
browser            78 tools/perf/ui/browser.c ui_browser__list_head_filter_entries(struct ui_browser *browser,
browser            82 tools/perf/ui/browser.c 		if (!browser->filter || !browser->filter(browser, pos))
browser            85 tools/perf/ui/browser.c 	} while (pos != browser->entries);
browser            91 tools/perf/ui/browser.c ui_browser__list_head_filter_prev_entries(struct ui_browser *browser,
browser            95 tools/perf/ui/browser.c 		if (!browser->filter || !browser->filter(browser, pos))
browser            98 tools/perf/ui/browser.c 	} while (pos != browser->entries);
browser           103 tools/perf/ui/browser.c void ui_browser__list_head_seek(struct ui_browser *browser, off_t offset, int whence)
browser           105 tools/perf/ui/browser.c 	struct list_head *head = browser->entries;
browser           108 tools/perf/ui/browser.c 	if (browser->nr_entries == 0)
browser           113 tools/perf/ui/browser.c 		pos = ui_browser__list_head_filter_entries(browser, head->next);
browser           116 tools/perf/ui/browser.c 		pos = browser->top;
browser           119 tools/perf/ui/browser.c 		pos = ui_browser__list_head_filter_prev_entries(browser, head->prev);
browser           129 tools/perf/ui/browser.c 			pos = ui_browser__list_head_filter_entries(browser, pos->next);
browser           132 tools/perf/ui/browser.c 			pos = ui_browser__list_head_filter_prev_entries(browser, pos->prev);
browser           135 tools/perf/ui/browser.c 	browser->top = pos;
browser           138 tools/perf/ui/browser.c void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence)
browser           140 tools/perf/ui/browser.c 	struct rb_root *root = browser->entries;
browser           148 tools/perf/ui/browser.c 		nd = browser->top;
browser           165 tools/perf/ui/browser.c 	browser->top = nd;
browser           168 tools/perf/ui/browser.c unsigned int ui_browser__rb_tree_refresh(struct ui_browser *browser)
browser           173 tools/perf/ui/browser.c 	if (browser->top == NULL)
browser           174 tools/perf/ui/browser.c                 browser->top = rb_first(browser->entries);
browser           176 tools/perf/ui/browser.c 	nd = browser->top;
browser           179 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, row, 0);
browser           180 tools/perf/ui/browser.c 		browser->write(browser, nd, row);
browser           181 tools/perf/ui/browser.c 		if (++row == browser->rows)
browser           189 tools/perf/ui/browser.c bool ui_browser__is_current_entry(struct ui_browser *browser, unsigned row)
browser           191 tools/perf/ui/browser.c 	return browser->top_idx + row == browser->index;
browser           194 tools/perf/ui/browser.c void ui_browser__refresh_dimensions(struct ui_browser *browser)
browser           196 tools/perf/ui/browser.c 	browser->width = SLtt_Screen_Cols - 1;
browser           197 tools/perf/ui/browser.c 	browser->height = browser->rows = SLtt_Screen_Rows - 2;
browser           198 tools/perf/ui/browser.c 	browser->rows -= browser->extra_title_lines;
browser           199 tools/perf/ui/browser.c 	browser->y = 1;
browser           200 tools/perf/ui/browser.c 	browser->x = 0;
browser           203 tools/perf/ui/browser.c void ui_browser__handle_resize(struct ui_browser *browser)
browser           206 tools/perf/ui/browser.c 	ui_browser__show(browser, browser->title, ui_helpline__current);
browser           207 tools/perf/ui/browser.c 	ui_browser__refresh(browser);
browser           210 tools/perf/ui/browser.c int ui_browser__warning(struct ui_browser *browser, int timeout,
browser           229 tools/perf/ui/browser.c 			ui_browser__handle_resize(browser);
browser           236 tools/perf/ui/browser.c int ui_browser__help_window(struct ui_browser *browser, const char *text)
browser           241 tools/perf/ui/browser.c 		ui_browser__handle_resize(browser);
browser           246 tools/perf/ui/browser.c bool ui_browser__dialog_yesno(struct ui_browser *browser, const char *text)
browser           251 tools/perf/ui/browser.c 		ui_browser__handle_resize(browser);
browser           256 tools/perf/ui/browser.c void ui_browser__reset_index(struct ui_browser *browser)
browser           258 tools/perf/ui/browser.c 	browser->index = browser->top_idx = 0;
browser           259 tools/perf/ui/browser.c 	browser->seek(browser, 0, SEEK_SET);
browser           262 tools/perf/ui/browser.c void __ui_browser__show_title(struct ui_browser *browser, const char *title)
browser           265 tools/perf/ui/browser.c 	ui_browser__set_color(browser, HE_COLORSET_ROOT);
browser           266 tools/perf/ui/browser.c 	ui_browser__write_nstring(browser, title, browser->width + 1);
browser           269 tools/perf/ui/browser.c void ui_browser__show_title(struct ui_browser *browser, const char *title)
browser           272 tools/perf/ui/browser.c 	__ui_browser__show_title(browser, title);
browser           276 tools/perf/ui/browser.c int ui_browser__show(struct ui_browser *browser, const char *title,
browser           282 tools/perf/ui/browser.c 	if (browser->refresh_dimensions == NULL)
browser           283 tools/perf/ui/browser.c 		browser->refresh_dimensions = ui_browser__refresh_dimensions;
browser           285 tools/perf/ui/browser.c 	browser->refresh_dimensions(browser);
browser           288 tools/perf/ui/browser.c 	__ui_browser__show_title(browser, title);
browser           290 tools/perf/ui/browser.c 	browser->title = title;
browser           291 tools/perf/ui/browser.c 	zfree(&browser->helpline);
browser           294 tools/perf/ui/browser.c 	err = vasprintf(&browser->helpline, helpline, ap);
browser           297 tools/perf/ui/browser.c 		ui_helpline__push(browser->helpline);
browser           302 tools/perf/ui/browser.c void ui_browser__hide(struct ui_browser *browser)
browser           306 tools/perf/ui/browser.c 	zfree(&browser->helpline);
browser           310 tools/perf/ui/browser.c static void ui_browser__scrollbar_set(struct ui_browser *browser)
browser           312 tools/perf/ui/browser.c 	int height = browser->height, h = 0, pct = 0,
browser           313 tools/perf/ui/browser.c 	    col = browser->width,
browser           316 tools/perf/ui/browser.c 	if (browser->nr_entries > 1) {
browser           317 tools/perf/ui/browser.c 		pct = ((browser->index * (browser->height - 1)) /
browser           318 tools/perf/ui/browser.c 		       (browser->nr_entries - 1));
browser           324 tools/perf/ui/browser.c 	        ui_browser__gotorc(browser, row++, col);
browser           332 tools/perf/ui/browser.c static int __ui_browser__refresh(struct ui_browser *browser)
browser           335 tools/perf/ui/browser.c 	int width = browser->width;
browser           337 tools/perf/ui/browser.c 	row = browser->refresh(browser);
browser           338 tools/perf/ui/browser.c 	ui_browser__set_color(browser, HE_COLORSET_NORMAL);
browser           340 tools/perf/ui/browser.c 	if (!browser->use_navkeypressed || browser->navkeypressed)
browser           341 tools/perf/ui/browser.c 		ui_browser__scrollbar_set(browser);
browser           345 tools/perf/ui/browser.c 	SLsmg_fill_region(browser->y + row + browser->extra_title_lines, browser->x,
browser           346 tools/perf/ui/browser.c 			  browser->rows - row, width, ' ');
browser           348 tools/perf/ui/browser.c 	if (browser->nr_entries == 0 && browser->no_samples_msg)
browser           349 tools/perf/ui/browser.c 		__ui__info_window(NULL, browser->no_samples_msg, NULL);
browser           353 tools/perf/ui/browser.c int ui_browser__refresh(struct ui_browser *browser)
browser           356 tools/perf/ui/browser.c 	__ui_browser__refresh(browser);
browser           368 tools/perf/ui/browser.c void ui_browser__update_nr_entries(struct ui_browser *browser, u32 nr_entries)
browser           370 tools/perf/ui/browser.c 	off_t offset = nr_entries - browser->nr_entries;
browser           372 tools/perf/ui/browser.c 	browser->nr_entries = nr_entries;
browser           375 tools/perf/ui/browser.c 		if (browser->top_idx < (u64)-offset)
browser           376 tools/perf/ui/browser.c 			offset = -browser->top_idx;
browser           378 tools/perf/ui/browser.c 		browser->index += offset;
browser           379 tools/perf/ui/browser.c 		browser->top_idx += offset;
browser           382 tools/perf/ui/browser.c 	browser->top = NULL;
browser           383 tools/perf/ui/browser.c 	browser->seek(browser, browser->top_idx, SEEK_SET);
browser           386 tools/perf/ui/browser.c int ui_browser__run(struct ui_browser *browser, int delay_secs)
browser           394 tools/perf/ui/browser.c 		err = __ui_browser__refresh(browser);
browser           404 tools/perf/ui/browser.c 			browser->refresh_dimensions(browser);
browser           405 tools/perf/ui/browser.c 			__ui_browser__show_title(browser, browser->title);
browser           406 tools/perf/ui/browser.c 			ui_helpline__puts(browser->helpline);
browser           410 tools/perf/ui/browser.c 		if (browser->use_navkeypressed && !browser->navkeypressed) {
browser           412 tools/perf/ui/browser.c 			    (browser->columns && (key == K_LEFT || key == K_RIGHT)) ||
browser           416 tools/perf/ui/browser.c 				browser->navkeypressed = true;
browser           424 tools/perf/ui/browser.c 			if (browser->index == browser->nr_entries - 1)
browser           426 tools/perf/ui/browser.c 			++browser->index;
browser           427 tools/perf/ui/browser.c 			if (browser->index == browser->top_idx + browser->rows) {
browser           428 tools/perf/ui/browser.c 				++browser->top_idx;
browser           429 tools/perf/ui/browser.c 				browser->seek(browser, +1, SEEK_CUR);
browser           433 tools/perf/ui/browser.c 			if (browser->index == 0)
browser           435 tools/perf/ui/browser.c 			--browser->index;
browser           436 tools/perf/ui/browser.c 			if (browser->index < browser->top_idx) {
browser           437 tools/perf/ui/browser.c 				--browser->top_idx;
browser           438 tools/perf/ui/browser.c 				browser->seek(browser, -1, SEEK_CUR);
browser           442 tools/perf/ui/browser.c 			if (!browser->columns)
browser           444 tools/perf/ui/browser.c 			if (browser->horiz_scroll < browser->columns - 1)
browser           445 tools/perf/ui/browser.c 				++browser->horiz_scroll;
browser           448 tools/perf/ui/browser.c 			if (!browser->columns)
browser           450 tools/perf/ui/browser.c 			if (browser->horiz_scroll != 0)
browser           451 tools/perf/ui/browser.c 				--browser->horiz_scroll;
browser           455 tools/perf/ui/browser.c 			if (browser->top_idx + browser->rows > browser->nr_entries - 1)
browser           458 tools/perf/ui/browser.c 			offset = browser->rows;
browser           459 tools/perf/ui/browser.c 			if (browser->index + offset > browser->nr_entries - 1)
browser           460 tools/perf/ui/browser.c 				offset = browser->nr_entries - 1 - browser->index;
browser           461 tools/perf/ui/browser.c 			browser->index += offset;
browser           462 tools/perf/ui/browser.c 			browser->top_idx += offset;
browser           463 tools/perf/ui/browser.c 			browser->seek(browser, +offset, SEEK_CUR);
browser           466 tools/perf/ui/browser.c 			if (browser->top_idx == 0)
browser           469 tools/perf/ui/browser.c 			if (browser->top_idx < browser->rows)
browser           470 tools/perf/ui/browser.c 				offset = browser->top_idx;
browser           472 tools/perf/ui/browser.c 				offset = browser->rows;
browser           474 tools/perf/ui/browser.c 			browser->index -= offset;
browser           475 tools/perf/ui/browser.c 			browser->top_idx -= offset;
browser           476 tools/perf/ui/browser.c 			browser->seek(browser, -offset, SEEK_CUR);
browser           479 tools/perf/ui/browser.c 			ui_browser__reset_index(browser);
browser           482 tools/perf/ui/browser.c 			offset = browser->rows - 1;
browser           483 tools/perf/ui/browser.c 			if (offset >= browser->nr_entries)
browser           484 tools/perf/ui/browser.c 				offset = browser->nr_entries - 1;
browser           486 tools/perf/ui/browser.c 			browser->index = browser->nr_entries - 1;
browser           487 tools/perf/ui/browser.c 			browser->top_idx = browser->index - offset;
browser           488 tools/perf/ui/browser.c 			browser->seek(browser, -offset, SEEK_END);
browser           498 tools/perf/ui/browser.c unsigned int ui_browser__list_head_refresh(struct ui_browser *browser)
browser           501 tools/perf/ui/browser.c 	struct list_head *head = browser->entries;
browser           504 tools/perf/ui/browser.c 	if (browser->top == NULL || browser->top == browser->entries)
browser           505 tools/perf/ui/browser.c                 browser->top = ui_browser__list_head_filter_entries(browser, head->next);
browser           507 tools/perf/ui/browser.c 	pos = browser->top;
browser           510 tools/perf/ui/browser.c 		if (!browser->filter || !browser->filter(browser, pos)) {
browser           511 tools/perf/ui/browser.c 			ui_browser__gotorc(browser, row, 0);
browser           512 tools/perf/ui/browser.c 			browser->write(browser, pos, row);
browser           513 tools/perf/ui/browser.c 			if (++row == browser->rows)
browser           608 tools/perf/ui/browser.c void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence)
browser           612 tools/perf/ui/browser.c 		browser->top = browser->entries;
browser           615 tools/perf/ui/browser.c 		browser->top = (char **)browser->top + offset;
browser           618 tools/perf/ui/browser.c 		browser->top = (char **)browser->entries + browser->nr_entries - 1 + offset;
browser           623 tools/perf/ui/browser.c 	assert((char **)browser->top < (char **)browser->entries + browser->nr_entries);
browser           624 tools/perf/ui/browser.c 	assert((char **)browser->top >= (char **)browser->entries);
browser           627 tools/perf/ui/browser.c unsigned int ui_browser__argv_refresh(struct ui_browser *browser)
browser           629 tools/perf/ui/browser.c 	unsigned int row = 0, idx = browser->top_idx;
browser           632 tools/perf/ui/browser.c 	if (browser->top == NULL)
browser           633 tools/perf/ui/browser.c 		browser->top = browser->entries;
browser           635 tools/perf/ui/browser.c 	pos = (char **)browser->top;
browser           636 tools/perf/ui/browser.c 	while (idx < browser->nr_entries &&
browser           638 tools/perf/ui/browser.c 		assert(pos < (char **)browser->entries + browser->nr_entries);
browser           639 tools/perf/ui/browser.c 		if (!browser->filter || !browser->filter(browser, *pos)) {
browser           640 tools/perf/ui/browser.c 			ui_browser__gotorc(browser, row, 0);
browser           641 tools/perf/ui/browser.c 			browser->write(browser, pos, row);
browser           642 tools/perf/ui/browser.c 			if (++row == browser->rows)
browser           653 tools/perf/ui/browser.c void __ui_browser__vline(struct ui_browser *browser, unsigned int column,
browser           657 tools/perf/ui/browser.c 	ui_browser__gotorc(browser, start, column);
browser           662 tools/perf/ui/browser.c void ui_browser__write_graph(struct ui_browser *browser __maybe_unused,
browser           670 tools/perf/ui/browser.c static void __ui_browser__line_arrow_up(struct ui_browser *browser,
browser           678 tools/perf/ui/browser.c 	if (start < browser->top_idx + browser->rows) {
browser           679 tools/perf/ui/browser.c 		row = start - browser->top_idx;
browser           680 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, row, column);
browser           682 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, row, column + 1);
browser           688 tools/perf/ui/browser.c 		row = browser->rows - 1;
browser           690 tools/perf/ui/browser.c 	if (end > browser->top_idx)
browser           691 tools/perf/ui/browser.c 		end_row = end - browser->top_idx;
browser           695 tools/perf/ui/browser.c 	ui_browser__gotorc(browser, end_row, column);
browser           698 tools/perf/ui/browser.c 	ui_browser__gotorc(browser, end_row, column);
browser           699 tools/perf/ui/browser.c 	if (end >= browser->top_idx) {
browser           701 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column + 1);
browser           703 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column + 2);
browser           710 tools/perf/ui/browser.c static void __ui_browser__line_arrow_down(struct ui_browser *browser,
browser           718 tools/perf/ui/browser.c 	if (start >= browser->top_idx) {
browser           719 tools/perf/ui/browser.c 		row = start - browser->top_idx;
browser           720 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, row, column);
browser           722 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, row, column + 1);
browser           730 tools/perf/ui/browser.c 	if (end >= browser->top_idx + browser->rows)
browser           731 tools/perf/ui/browser.c 		end_row = browser->rows - 1;
browser           733 tools/perf/ui/browser.c 		end_row = end - browser->top_idx;
browser           735 tools/perf/ui/browser.c 	ui_browser__gotorc(browser, row, column);
browser           738 tools/perf/ui/browser.c 	ui_browser__gotorc(browser, end_row, column);
browser           739 tools/perf/ui/browser.c 	if (end < browser->top_idx + browser->rows) {
browser           741 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column + 1);
browser           743 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column + 2);
browser           750 tools/perf/ui/browser.c void __ui_browser__line_arrow(struct ui_browser *browser, unsigned int column,
browser           754 tools/perf/ui/browser.c 		__ui_browser__line_arrow_up(browser, column, start, end);
browser           756 tools/perf/ui/browser.c 		__ui_browser__line_arrow_down(browser, column, start, end);
browser           759 tools/perf/ui/browser.c void ui_browser__mark_fused(struct ui_browser *browser, unsigned int column,
browser           764 tools/perf/ui/browser.c 	if (row >= browser->top_idx)
browser           765 tools/perf/ui/browser.c 		end_row = row - browser->top_idx;
browser           772 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column - 1);
browser           774 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column);
browser           776 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row + 1, column - 1);
browser           779 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column - 1);
browser           781 tools/perf/ui/browser.c 		ui_browser__gotorc(browser, end_row, column);
browser            27 tools/perf/ui/browser.h 	void 	      (*refresh_dimensions)(struct ui_browser *browser);
browser            28 tools/perf/ui/browser.h 	unsigned int  (*refresh)(struct ui_browser *browser);
browser            29 tools/perf/ui/browser.h 	void	      (*write)(struct ui_browser *browser, void *entry, int row);
browser            30 tools/perf/ui/browser.h 	void	      (*seek)(struct ui_browser *browser, off_t offset, int whence);
browser            31 tools/perf/ui/browser.h 	bool	      (*filter)(struct ui_browser *browser, void *entry);
browser            37 tools/perf/ui/browser.h int  ui_browser__set_color(struct ui_browser *browser, int color);
browser            38 tools/perf/ui/browser.h void ui_browser__set_percent_color(struct ui_browser *browser,
browser            40 tools/perf/ui/browser.h bool ui_browser__is_current_entry(struct ui_browser *browser, unsigned row);
browser            41 tools/perf/ui/browser.h void ui_browser__refresh_dimensions(struct ui_browser *browser);
browser            42 tools/perf/ui/browser.h void ui_browser__reset_index(struct ui_browser *browser);
browser            44 tools/perf/ui/browser.h void ui_browser__gotorc_title(struct ui_browser *browser, int y, int x);
browser            45 tools/perf/ui/browser.h void ui_browser__gotorc(struct ui_browser *browser, int y, int x);
browser            46 tools/perf/ui/browser.h void ui_browser__write_nstring(struct ui_browser *browser, const char *msg,
browser            48 tools/perf/ui/browser.h void ui_browser__vprintf(struct ui_browser *browser, const char *fmt, va_list args);
browser            49 tools/perf/ui/browser.h void ui_browser__printf(struct ui_browser *browser, const char *fmt, ...);
browser            50 tools/perf/ui/browser.h void ui_browser__write_graph(struct ui_browser *browser, int graph);
browser            51 tools/perf/ui/browser.h void __ui_browser__line_arrow(struct ui_browser *browser, unsigned int column,
browser            53 tools/perf/ui/browser.h void ui_browser__mark_fused(struct ui_browser *browser, unsigned int column,
browser            55 tools/perf/ui/browser.h void __ui_browser__show_title(struct ui_browser *browser, const char *title);
browser            56 tools/perf/ui/browser.h void ui_browser__show_title(struct ui_browser *browser, const char *title);
browser            57 tools/perf/ui/browser.h int ui_browser__show(struct ui_browser *browser, const char *title,
browser            59 tools/perf/ui/browser.h void ui_browser__hide(struct ui_browser *browser);
browser            60 tools/perf/ui/browser.h int ui_browser__refresh(struct ui_browser *browser);
browser            61 tools/perf/ui/browser.h int ui_browser__run(struct ui_browser *browser, int delay_secs);
browser            62 tools/perf/ui/browser.h void ui_browser__update_nr_entries(struct ui_browser *browser, u32 nr_entries);
browser            63 tools/perf/ui/browser.h void ui_browser__handle_resize(struct ui_browser *browser);
browser            64 tools/perf/ui/browser.h void __ui_browser__vline(struct ui_browser *browser, unsigned int column,
browser            67 tools/perf/ui/browser.h int ui_browser__warning(struct ui_browser *browser, int timeout,
browser            69 tools/perf/ui/browser.h int ui_browser__help_window(struct ui_browser *browser, const char *text);
browser            70 tools/perf/ui/browser.h bool ui_browser__dialog_yesno(struct ui_browser *browser, const char *text);
browser            76 tools/perf/ui/browser.h void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence);
browser            77 tools/perf/ui/browser.h unsigned int ui_browser__argv_refresh(struct ui_browser *browser);
browser            79 tools/perf/ui/browser.h void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence);
browser            80 tools/perf/ui/browser.h unsigned int ui_browser__rb_tree_refresh(struct ui_browser *browser);
browser            82 tools/perf/ui/browser.h void ui_browser__list_head_seek(struct ui_browser *browser, off_t offset, int whence);
browser            83 tools/perf/ui/browser.h unsigned int ui_browser__list_head_refresh(struct ui_browser *browser);
browser            40 tools/perf/ui/browsers/annotate.c static inline struct annotation *browser__annotation(struct ui_browser *browser)
browser            42 tools/perf/ui/browsers/annotate.c 	struct map_symbol *ms = browser->priv;
browser            46 tools/perf/ui/browsers/annotate.c static bool disasm_line__filter(struct ui_browser *browser, void *entry)
browser            48 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(browser);
browser            53 tools/perf/ui/browsers/annotate.c static int ui_browser__jumps_percent_color(struct ui_browser *browser, int nr, bool current)
browser            55 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(browser);
browser            57 tools/perf/ui/browsers/annotate.c 	if (current && (!browser->use_navkeypressed || browser->navkeypressed))
browser            66 tools/perf/ui/browsers/annotate.c static int ui_browser__set_jumps_percent_color(void *browser, int nr, bool current)
browser            68 tools/perf/ui/browsers/annotate.c 	 int color = ui_browser__jumps_percent_color(browser, nr, current);
browser            69 tools/perf/ui/browsers/annotate.c 	 return ui_browser__set_color(browser, color);
browser            72 tools/perf/ui/browsers/annotate.c static int annotate_browser__set_color(void *browser, int color)
browser            74 tools/perf/ui/browsers/annotate.c 	return ui_browser__set_color(browser, color);
browser            77 tools/perf/ui/browsers/annotate.c static void annotate_browser__write_graph(void *browser, int graph)
browser            79 tools/perf/ui/browsers/annotate.c 	ui_browser__write_graph(browser, graph);
browser            82 tools/perf/ui/browsers/annotate.c static void annotate_browser__set_percent_color(void *browser, double percent, bool current)
browser            84 tools/perf/ui/browsers/annotate.c 	ui_browser__set_percent_color(browser, percent, current);
browser            87 tools/perf/ui/browsers/annotate.c static void annotate_browser__printf(void *browser, const char *fmt, ...)
browser            92 tools/perf/ui/browsers/annotate.c 	ui_browser__vprintf(browser, fmt, args);
browser            96 tools/perf/ui/browsers/annotate.c static void annotate_browser__write(struct ui_browser *browser, void *entry, int row)
browser            98 tools/perf/ui/browsers/annotate.c 	struct annotate_browser *ab = container_of(browser, struct annotate_browser, b);
browser            99 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(browser);
browser           101 tools/perf/ui/browsers/annotate.c 	const bool is_current_entry = ui_browser__is_current_entry(browser, row);
browser           107 tools/perf/ui/browsers/annotate.c 					     (browser->use_navkeypressed &&
browser           108 tools/perf/ui/browsers/annotate.c 					      !browser->navkeypressed))),
browser           109 tools/perf/ui/browsers/annotate.c 		.width			 = browser->width,
browser           110 tools/perf/ui/browsers/annotate.c 		.obj			 = browser,
browser           119 tools/perf/ui/browsers/annotate.c 	if (!browser->navkeypressed)
browser           147 tools/perf/ui/browsers/annotate.c static void annotate_browser__draw_current_jump(struct ui_browser *browser)
browser           149 tools/perf/ui/browsers/annotate.c 	struct annotate_browser *ab = container_of(browser, struct annotate_browser, b);
browser           203 tools/perf/ui/browsers/annotate.c 	ui_browser__set_color(browser, HE_COLORSET_JUMP_ARROWS);
browser           204 tools/perf/ui/browsers/annotate.c 	__ui_browser__line_arrow(browser,
browser           209 tools/perf/ui/browsers/annotate.c 		ui_browser__mark_fused(browser,
browser           216 tools/perf/ui/browsers/annotate.c static unsigned int annotate_browser__refresh(struct ui_browser *browser)
browser           218 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(browser);
browser           219 tools/perf/ui/browsers/annotate.c 	int ret = ui_browser__list_head_refresh(browser);
browser           223 tools/perf/ui/browsers/annotate.c 		annotate_browser__draw_current_jump(browser);
browser           225 tools/perf/ui/browsers/annotate.c 	ui_browser__set_color(browser, HE_COLORSET_NORMAL);
browser           226 tools/perf/ui/browsers/annotate.c 	__ui_browser__vline(browser, pcnt_width, 0, browser->rows - 1);
browser           244 tools/perf/ui/browsers/annotate.c static void disasm_rb_tree__insert(struct annotate_browser *browser,
browser           247 tools/perf/ui/browsers/annotate.c 	struct rb_root *root = &browser->entries;
browser           256 tools/perf/ui/browsers/annotate.c 		if (disasm__cmp(al, l, browser->opts->percent_type) < 0)
browser           265 tools/perf/ui/browsers/annotate.c static void annotate_browser__set_top(struct annotate_browser *browser,
browser           268 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(&browser->b);
browser           271 tools/perf/ui/browsers/annotate.c 	ui_browser__refresh_dimensions(&browser->b);
browser           272 tools/perf/ui/browsers/annotate.c 	back = browser->b.height / 2;
browser           273 tools/perf/ui/browsers/annotate.c 	browser->b.top_idx = browser->b.index = idx;
browser           275 tools/perf/ui/browsers/annotate.c 	while (browser->b.top_idx != 0 && back != 0) {
browser           281 tools/perf/ui/browsers/annotate.c 		--browser->b.top_idx;
browser           285 tools/perf/ui/browsers/annotate.c 	browser->b.top = pos;
browser           286 tools/perf/ui/browsers/annotate.c 	browser->b.navkeypressed = true;
browser           289 tools/perf/ui/browsers/annotate.c static void annotate_browser__set_rb_top(struct annotate_browser *browser,
browser           292 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(&browser->b);
browser           298 tools/perf/ui/browsers/annotate.c 	annotate_browser__set_top(browser, pos, idx);
browser           299 tools/perf/ui/browsers/annotate.c 	browser->curr_hot = nd;
browser           302 tools/perf/ui/browsers/annotate.c static void annotate_browser__calc_percent(struct annotate_browser *browser,
browser           305 tools/perf/ui/browsers/annotate.c 	struct map_symbol *ms = browser->b.priv;
browser           310 tools/perf/ui/browsers/annotate.c 	browser->entries = RB_ROOT;
browser           329 tools/perf/ui/browsers/annotate.c 							   browser->opts->percent_type);
browser           339 tools/perf/ui/browsers/annotate.c 		disasm_rb_tree__insert(browser, &pos->al);
browser           343 tools/perf/ui/browsers/annotate.c 	browser->curr_hot = rb_last(&browser->entries);
browser           346 tools/perf/ui/browsers/annotate.c static bool annotate_browser__toggle_source(struct annotate_browser *browser)
browser           348 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(&browser->b);
browser           350 tools/perf/ui/browsers/annotate.c 	off_t offset = browser->b.index - browser->b.top_idx;
browser           352 tools/perf/ui/browsers/annotate.c 	browser->b.seek(&browser->b, offset, SEEK_CUR);
browser           353 tools/perf/ui/browsers/annotate.c 	al = list_entry(browser->b.top, struct annotation_line, node);
browser           359 tools/perf/ui/browsers/annotate.c 		browser->b.nr_entries = notes->nr_entries;
browser           361 tools/perf/ui/browsers/annotate.c 		browser->b.seek(&browser->b, -offset, SEEK_CUR);
browser           362 tools/perf/ui/browsers/annotate.c 		browser->b.top_idx = al->idx - offset;
browser           363 tools/perf/ui/browsers/annotate.c 		browser->b.index = al->idx;
browser           367 tools/perf/ui/browsers/annotate.c 			browser->b.seek(&browser->b, -offset, SEEK_CUR);
browser           374 tools/perf/ui/browsers/annotate.c 		browser->b.nr_entries = notes->nr_asm_entries;
browser           376 tools/perf/ui/browsers/annotate.c 		browser->b.seek(&browser->b, -offset, SEEK_CUR);
browser           377 tools/perf/ui/browsers/annotate.c 		browser->b.top_idx = al->idx_asm - offset;
browser           378 tools/perf/ui/browsers/annotate.c 		browser->b.index = al->idx_asm;
browser           384 tools/perf/ui/browsers/annotate.c static void ui_browser__init_asm_mode(struct ui_browser *browser)
browser           386 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(browser);
browser           387 tools/perf/ui/browsers/annotate.c 	ui_browser__reset_index(browser);
browser           388 tools/perf/ui/browsers/annotate.c 	browser->nr_entries = notes->nr_asm_entries;
browser           409 tools/perf/ui/browsers/annotate.c static bool annotate_browser__callq(struct annotate_browser *browser,
browser           413 tools/perf/ui/browsers/annotate.c 	struct map_symbol *ms = browser->b.priv;
browser           414 tools/perf/ui/browsers/annotate.c 	struct disasm_line *dl = disasm_line(browser->selection);
browser           434 tools/perf/ui/browsers/annotate.c 	symbol__tui_annotate(dl->ops.target.sym, ms->map, evsel, hbt, browser->opts);
browser           435 tools/perf/ui/browsers/annotate.c 	sym_title(ms->sym, ms->map, title, sizeof(title), browser->opts->percent_type);
browser           436 tools/perf/ui/browsers/annotate.c 	ui_browser__show_title(&browser->b, title);
browser           441 tools/perf/ui/browsers/annotate.c struct disasm_line *annotate_browser__find_offset(struct annotate_browser *browser,
browser           444 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(&browser->b);
browser           458 tools/perf/ui/browsers/annotate.c static bool annotate_browser__jump(struct annotate_browser *browser,
browser           462 tools/perf/ui/browsers/annotate.c 	struct disasm_line *dl = disasm_line(browser->selection);
browser           470 tools/perf/ui/browsers/annotate.c 		annotate_browser__callq(browser, evsel, hbt);
browser           475 tools/perf/ui/browsers/annotate.c 	dl = annotate_browser__find_offset(browser, offset, &idx);
browser           481 tools/perf/ui/browsers/annotate.c 	annotate_browser__set_top(browser, &dl->al, idx);
browser           487 tools/perf/ui/browsers/annotate.c struct annotation_line *annotate_browser__find_string(struct annotate_browser *browser,
browser           490 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(&browser->b);
browser           491 tools/perf/ui/browsers/annotate.c 	struct annotation_line *al = browser->selection;
browser           493 tools/perf/ui/browsers/annotate.c 	*idx = browser->b.index;
browser           507 tools/perf/ui/browsers/annotate.c static bool __annotate_browser__search(struct annotate_browser *browser)
browser           512 tools/perf/ui/browsers/annotate.c 	al = annotate_browser__find_string(browser, browser->search_bf, &idx);
browser           518 tools/perf/ui/browsers/annotate.c 	annotate_browser__set_top(browser, al, idx);
browser           519 tools/perf/ui/browsers/annotate.c 	browser->searching_backwards = false;
browser           524 tools/perf/ui/browsers/annotate.c struct annotation_line *annotate_browser__find_string_reverse(struct annotate_browser *browser,
browser           527 tools/perf/ui/browsers/annotate.c 	struct annotation *notes = browser__annotation(&browser->b);
browser           528 tools/perf/ui/browsers/annotate.c 	struct annotation_line *al = browser->selection;
browser           530 tools/perf/ui/browsers/annotate.c 	*idx = browser->b.index;
browser           544 tools/perf/ui/browsers/annotate.c static bool __annotate_browser__search_reverse(struct annotate_browser *browser)
browser           549 tools/perf/ui/browsers/annotate.c 	al = annotate_browser__find_string_reverse(browser, browser->search_bf, &idx);
browser           555 tools/perf/ui/browsers/annotate.c 	annotate_browser__set_top(browser, al, idx);
browser           556 tools/perf/ui/browsers/annotate.c 	browser->searching_backwards = true;
browser           560 tools/perf/ui/browsers/annotate.c static bool annotate_browser__search_window(struct annotate_browser *browser,
browser           563 tools/perf/ui/browsers/annotate.c 	if (ui_browser__input_window("Search", "String: ", browser->search_bf,
browser           566 tools/perf/ui/browsers/annotate.c 	    !*browser->search_bf)
browser           572 tools/perf/ui/browsers/annotate.c static bool annotate_browser__search(struct annotate_browser *browser, int delay_secs)
browser           574 tools/perf/ui/browsers/annotate.c 	if (annotate_browser__search_window(browser, delay_secs))
browser           575 tools/perf/ui/browsers/annotate.c 		return __annotate_browser__search(browser);
browser           580 tools/perf/ui/browsers/annotate.c static bool annotate_browser__continue_search(struct annotate_browser *browser,
browser           583 tools/perf/ui/browsers/annotate.c 	if (!*browser->search_bf)
browser           584 tools/perf/ui/browsers/annotate.c 		return annotate_browser__search(browser, delay_secs);
browser           586 tools/perf/ui/browsers/annotate.c 	return __annotate_browser__search(browser);
browser           589 tools/perf/ui/browsers/annotate.c static bool annotate_browser__search_reverse(struct annotate_browser *browser,
browser           592 tools/perf/ui/browsers/annotate.c 	if (annotate_browser__search_window(browser, delay_secs))
browser           593 tools/perf/ui/browsers/annotate.c 		return __annotate_browser__search_reverse(browser);
browser           599 tools/perf/ui/browsers/annotate.c bool annotate_browser__continue_search_reverse(struct annotate_browser *browser,
browser           602 tools/perf/ui/browsers/annotate.c 	if (!*browser->search_bf)
browser           603 tools/perf/ui/browsers/annotate.c 		return annotate_browser__search_reverse(browser, delay_secs);
browser           605 tools/perf/ui/browsers/annotate.c 	return __annotate_browser__search_reverse(browser);
browser           608 tools/perf/ui/browsers/annotate.c static int annotate_browser__show(struct ui_browser *browser, char *title, const char *help)
browser           610 tools/perf/ui/browsers/annotate.c 	struct annotate_browser *ab = container_of(browser, struct annotate_browser, b);
browser           611 tools/perf/ui/browsers/annotate.c 	struct map_symbol *ms = browser->priv;
browser           615 tools/perf/ui/browsers/annotate.c 	if (ui_browser__show(browser, title, help) < 0)
browser           620 tools/perf/ui/browsers/annotate.c 	ui_browser__gotorc_title(browser, 0, 0);
browser           621 tools/perf/ui/browsers/annotate.c 	ui_browser__set_color(browser, HE_COLORSET_ROOT);
browser           622 tools/perf/ui/browsers/annotate.c 	ui_browser__write_nstring(browser, symbol_dso, browser->width + 1);
browser           659 tools/perf/ui/browsers/annotate.c static int annotate_browser__run(struct annotate_browser *browser,
browser           665 tools/perf/ui/browsers/annotate.c 	struct map_symbol *ms = browser->b.priv;
browser           674 tools/perf/ui/browsers/annotate.c 	if (annotate_browser__show(&browser->b, title, help) < 0)
browser           677 tools/perf/ui/browsers/annotate.c 	annotate_browser__calc_percent(browser, evsel);
browser           679 tools/perf/ui/browsers/annotate.c 	if (browser->curr_hot) {
browser           680 tools/perf/ui/browsers/annotate.c 		annotate_browser__set_rb_top(browser, browser->curr_hot);
browser           681 tools/perf/ui/browsers/annotate.c 		browser->b.navkeypressed = false;
browser           684 tools/perf/ui/browsers/annotate.c 	nd = browser->curr_hot;
browser           687 tools/perf/ui/browsers/annotate.c 		key = ui_browser__run(&browser->b, delay_secs);
browser           690 tools/perf/ui/browsers/annotate.c 			annotate_browser__calc_percent(browser, evsel);
browser           708 tools/perf/ui/browsers/annotate.c 				annotate_browser__show(&browser->b, title, help);
browser           715 tools/perf/ui/browsers/annotate.c 					nd = rb_last(&browser->entries);
browser           717 tools/perf/ui/browsers/annotate.c 				nd = browser->curr_hot;
browser           723 tools/perf/ui/browsers/annotate.c 					nd = rb_first(&browser->entries);
browser           725 tools/perf/ui/browsers/annotate.c 				nd = browser->curr_hot;
browser           729 tools/perf/ui/browsers/annotate.c 			ui_browser__help_window(&browser->b,
browser           762 tools/perf/ui/browsers/annotate.c 			nd = browser->curr_hot;
browser           765 tools/perf/ui/browsers/annotate.c 			if (annotate_browser__toggle_source(browser))
browser           784 tools/perf/ui/browsers/annotate.c 			if (annotate_browser__search(browser, delay_secs)) {
browser           790 tools/perf/ui/browsers/annotate.c 			if (browser->searching_backwards ?
browser           791 tools/perf/ui/browsers/annotate.c 			    annotate_browser__continue_search_reverse(browser, delay_secs) :
browser           792 tools/perf/ui/browsers/annotate.c 			    annotate_browser__continue_search(browser, delay_secs))
browser           796 tools/perf/ui/browsers/annotate.c 			if (annotate_browser__search_reverse(browser, delay_secs))
browser           803 tools/perf/ui/browsers/annotate.c 					   seq++, browser->b.nr_entries,
browser           804 tools/perf/ui/browsers/annotate.c 					   browser->b.height,
browser           805 tools/perf/ui/browsers/annotate.c 					   browser->b.index,
browser           806 tools/perf/ui/browsers/annotate.c 					   browser->b.top_idx,
browser           813 tools/perf/ui/browsers/annotate.c 			struct disasm_line *dl = disasm_line(browser->selection);
browser           815 tools/perf/ui/browsers/annotate.c 			if (browser->selection == NULL)
browser           817 tools/perf/ui/browsers/annotate.c 			else if (browser->selection->offset == -1)
browser           823 tools/perf/ui/browsers/annotate.c 			else if (!(annotate_browser__jump(browser, evsel, hbt) ||
browser           824 tools/perf/ui/browsers/annotate.c 				     annotate_browser__callq(browser, evsel, hbt))) {
browser           831 tools/perf/ui/browsers/annotate.c 			map_symbol__annotation_dump(ms, evsel, browser->opts);
browser           852 tools/perf/ui/browsers/annotate.c 			switch_percent_type(browser->opts, key == 'b');
browser           854 tools/perf/ui/browsers/annotate.c 			annotate_browser__show(&browser->b, title, help);
browser           866 tools/perf/ui/browsers/annotate.c 			annotate_browser__set_rb_top(browser, nd);
browser           869 tools/perf/ui/browsers/annotate.c 	ui_browser__hide(&browser->b);
browser           901 tools/perf/ui/browsers/annotate.c 	struct annotate_browser browser = {
browser           921 tools/perf/ui/browsers/annotate.c 	err = symbol__annotate2(sym, map, evsel, opts, &browser.arch);
browser           931 tools/perf/ui/browsers/annotate.c 	browser.b.width = notes->max_line_len;
browser           932 tools/perf/ui/browsers/annotate.c 	browser.b.nr_entries = notes->nr_entries;
browser           933 tools/perf/ui/browsers/annotate.c 	browser.b.entries = &notes->src->source,
browser           934 tools/perf/ui/browsers/annotate.c 	browser.b.width += 18; /* Percentage */
browser           937 tools/perf/ui/browsers/annotate.c 		ui_browser__init_asm_mode(&browser.b);
browser           939 tools/perf/ui/browsers/annotate.c 	ret = annotate_browser__run(&browser, evsel, hbt);
browser            12 tools/perf/ui/browsers/header.c static void ui_browser__argv_write(struct ui_browser *browser,
browser            18 tools/perf/ui/browsers/header.c 	bool current_entry = ui_browser__is_current_entry(browser, row);
browser            19 tools/perf/ui/browsers/header.c 	unsigned long offset = (unsigned long)browser->priv;
browser            26 tools/perf/ui/browsers/header.c 	ui_browser__set_color(browser, current_entry ? HE_COLORSET_SELECTED :
browser            29 tools/perf/ui/browsers/header.c 	ui_browser__write_nstring(browser, str, browser->width);
browser            47 tools/perf/ui/browsers/hists.c static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size);
browser            58 tools/perf/ui/browsers/hists.c static int hist_browser__get_folding(struct hist_browser *browser)
browser            61 tools/perf/ui/browsers/hists.c 	struct hists *hists = browser->hists;
browser            65 tools/perf/ui/browsers/hists.c 	     (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL;
browser            78 tools/perf/ui/browsers/hists.c 	struct ui_browser *browser = &hb->b;
browser            82 tools/perf/ui/browsers/hists.c 	browser->extra_title_lines = hb->show_headers ? hpp_list->nr_header_lines : 0;
browser           102 tools/perf/ui/browsers/hists.c 	struct ui_browser *browser = &hb->b;
browser           108 tools/perf/ui/browsers/hists.c 		browser->rows += browser->extra_title_lines;
browser           109 tools/perf/ui/browsers/hists.c 		browser->extra_title_lines = 0;
browser           113 tools/perf/ui/browsers/hists.c 	browser->extra_title_lines = hpp_list->nr_header_lines;
browser           114 tools/perf/ui/browsers/hists.c 	browser->rows -= browser->extra_title_lines;
browser           119 tools/perf/ui/browsers/hists.c 	index_row = browser->index - browser->top_idx;
browser           120 tools/perf/ui/browsers/hists.c 	if (index_row >= browser->rows)
browser           121 tools/perf/ui/browsers/hists.c 		browser->index -= index_row - browser->rows + 1;
browser           124 tools/perf/ui/browsers/hists.c static void hist_browser__refresh_dimensions(struct ui_browser *browser)
browser           126 tools/perf/ui/browsers/hists.c 	struct hist_browser *hb = container_of(browser, struct hist_browser, b);
browser           129 tools/perf/ui/browsers/hists.c 	browser->width = 3 + (hists__sort_list_width(hb->hists) + sizeof("[k]"));
browser           136 tools/perf/ui/browsers/hists.c 	ui_browser__refresh_dimensions(browser);
browser           139 tools/perf/ui/browsers/hists.c static void hist_browser__reset(struct hist_browser *browser)
browser           145 tools/perf/ui/browsers/hists.c 	browser->nr_callchain_rows = 0;
browser           147 tools/perf/ui/browsers/hists.c 	hist_browser__update_nr_entries(browser);
browser           148 tools/perf/ui/browsers/hists.c 	browser->b.nr_entries = hist_browser__nr_entries(browser);
browser           149 tools/perf/ui/browsers/hists.c 	hist_browser__refresh_dimensions(&browser->b);
browser           150 tools/perf/ui/browsers/hists.c 	ui_browser__reset_index(&browser->b);
browser           393 tools/perf/ui/browsers/hists.c static bool hist_browser__toggle_fold(struct hist_browser *browser)
browser           395 tools/perf/ui/browsers/hists.c 	struct hist_entry *he = browser->he_selection;
browser           396 tools/perf/ui/browsers/hists.c 	struct map_symbol *ms = browser->selection;
browser           412 tools/perf/ui/browsers/hists.c 		browser->b.nr_entries -= he->nr_rows;
browser           415 tools/perf/ui/browsers/hists.c 			browser->nr_callchain_rows -= he->nr_rows;
browser           417 tools/perf/ui/browsers/hists.c 			browser->nr_hierarchy_entries -= he->nr_rows;
browser           420 tools/perf/ui/browsers/hists.c 			child_rows = hierarchy_count_rows(browser, he, true);
browser           427 tools/perf/ui/browsers/hists.c 				he->nr_rows = hierarchy_count_rows(browser, he, false);
browser           431 tools/perf/ui/browsers/hists.c 				browser->b.nr_entries += child_rows - he->nr_rows;
browser           439 tools/perf/ui/browsers/hists.c 				browser->b.nr_entries -= child_rows - he->nr_rows;
browser           447 tools/perf/ui/browsers/hists.c 		browser->b.nr_entries += he->nr_rows;
browser           450 tools/perf/ui/browsers/hists.c 			browser->nr_callchain_rows += he->nr_rows;
browser           452 tools/perf/ui/browsers/hists.c 			browser->nr_hierarchy_entries += he->nr_rows;
browser           553 tools/perf/ui/browsers/hists.c 				    struct hist_browser *browser, bool unfold)
browser           558 tools/perf/ui/browsers/hists.c 	if (he->filtered || percent < browser->min_pcnt)
browser           561 tools/perf/ui/browsers/hists.c 	__hist_entry__set_folding(he, browser, unfold);
browser           564 tools/perf/ui/browsers/hists.c 		browser->nr_hierarchy_entries++;
browser           566 tools/perf/ui/browsers/hists.c 		browser->nr_callchain_rows += he->nr_rows;
browser           567 tools/perf/ui/browsers/hists.c 	else if (unfold && !hist_entry__has_hierarchy_children(he, browser->min_pcnt)) {
browser           568 tools/perf/ui/browsers/hists.c 		browser->nr_hierarchy_entries++;
browser           576 tools/perf/ui/browsers/hists.c __hist_browser__set_folding(struct hist_browser *browser, bool unfold)
browser           581 tools/perf/ui/browsers/hists.c 	nd = rb_first_cached(&browser->hists->entries);
browser           588 tools/perf/ui/browsers/hists.c 		hist_entry__set_folding(he, browser, unfold);
browser           592 tools/perf/ui/browsers/hists.c static void hist_browser__set_folding(struct hist_browser *browser, bool unfold)
browser           594 tools/perf/ui/browsers/hists.c 	browser->nr_hierarchy_entries = 0;
browser           595 tools/perf/ui/browsers/hists.c 	browser->nr_callchain_rows = 0;
browser           596 tools/perf/ui/browsers/hists.c 	__hist_browser__set_folding(browser, unfold);
browser           598 tools/perf/ui/browsers/hists.c 	browser->b.nr_entries = hist_browser__nr_entries(browser);
browser           600 tools/perf/ui/browsers/hists.c 	ui_browser__reset_index(&browser->b);
browser           603 tools/perf/ui/browsers/hists.c static void hist_browser__set_folding_selected(struct hist_browser *browser, bool unfold)
browser           605 tools/perf/ui/browsers/hists.c 	if (!browser->he_selection)
browser           608 tools/perf/ui/browsers/hists.c 	hist_entry__set_folding(browser->he_selection, browser, unfold);
browser           609 tools/perf/ui/browsers/hists.c 	browser->b.nr_entries = hist_browser__nr_entries(browser);
browser           612 tools/perf/ui/browsers/hists.c static void ui_browser__warn_lost_events(struct ui_browser *browser)
browser           614 tools/perf/ui/browsers/hists.c 	ui_browser__warning(browser, 4,
browser           621 tools/perf/ui/browsers/hists.c static int hist_browser__title(struct hist_browser *browser, char *bf, size_t size)
browser           623 tools/perf/ui/browsers/hists.c 	return browser->title ? browser->title(browser, bf, size) : 0;
browser           626 tools/perf/ui/browsers/hists.c int hist_browser__run(struct hist_browser *browser, const char *help,
browser           631 tools/perf/ui/browsers/hists.c 	struct hist_browser_timer *hbt = browser->hbt;
browser           634 tools/perf/ui/browsers/hists.c 	browser->b.entries = &browser->hists->entries;
browser           635 tools/perf/ui/browsers/hists.c 	browser->b.nr_entries = hist_browser__nr_entries(browser);
browser           637 tools/perf/ui/browsers/hists.c 	hist_browser__title(browser, title, sizeof(title));
browser           639 tools/perf/ui/browsers/hists.c 	if (ui_browser__show(&browser->b, title, "%s", help) < 0)
browser           643 tools/perf/ui/browsers/hists.c 		key = ui_browser__run(&browser->b, delay_secs);
browser           654 tools/perf/ui/browsers/hists.c 			if (hist_browser__has_filter(browser) ||
browser           656 tools/perf/ui/browsers/hists.c 				hist_browser__update_nr_entries(browser);
browser           658 tools/perf/ui/browsers/hists.c 			nr_entries = hist_browser__nr_entries(browser);
browser           659 tools/perf/ui/browsers/hists.c 			ui_browser__update_nr_entries(&browser->b, nr_entries);
browser           662 tools/perf/ui/browsers/hists.c 			    (browser->hists->stats.nr_lost_warned !=
browser           663 tools/perf/ui/browsers/hists.c 			    browser->hists->stats.nr_events[PERF_RECORD_LOST])) {
browser           664 tools/perf/ui/browsers/hists.c 				browser->hists->stats.nr_lost_warned =
browser           665 tools/perf/ui/browsers/hists.c 					browser->hists->stats.nr_events[PERF_RECORD_LOST];
browser           666 tools/perf/ui/browsers/hists.c 				ui_browser__warn_lost_events(&browser->b);
browser           669 tools/perf/ui/browsers/hists.c 			hist_browser__title(browser, title, sizeof(title));
browser           670 tools/perf/ui/browsers/hists.c 			ui_browser__show_title(&browser->b, title);
browser           675 tools/perf/ui/browsers/hists.c 			struct hist_entry *h = rb_entry(browser->b.top,
browser           679 tools/perf/ui/browsers/hists.c 					   seq++, browser->b.nr_entries,
browser           680 tools/perf/ui/browsers/hists.c 					   browser->hists->nr_entries,
browser           681 tools/perf/ui/browsers/hists.c 					   browser->b.extra_title_lines,
browser           682 tools/perf/ui/browsers/hists.c 					   browser->b.rows,
browser           683 tools/perf/ui/browsers/hists.c 					   browser->b.index,
browser           684 tools/perf/ui/browsers/hists.c 					   browser->b.top_idx,
browser           690 tools/perf/ui/browsers/hists.c 			hist_browser__set_folding(browser, false);
browser           694 tools/perf/ui/browsers/hists.c 			hist_browser__set_folding_selected(browser, false);
browser           698 tools/perf/ui/browsers/hists.c 			hist_browser__set_folding(browser, true);
browser           702 tools/perf/ui/browsers/hists.c 			hist_browser__set_folding_selected(browser, true);
browser           705 tools/perf/ui/browsers/hists.c 			browser->show_headers = !browser->show_headers;
browser           706 tools/perf/ui/browsers/hists.c 			hist_browser__update_rows(browser);
browser           709 tools/perf/ui/browsers/hists.c 			if (hist_browser__toggle_fold(browser))
browser           717 tools/perf/ui/browsers/hists.c 	ui_browser__hide(&browser->b);
browser           731 tools/perf/ui/browsers/hists.c typedef void (*print_callchain_entry_fn)(struct hist_browser *browser,
browser           737 tools/perf/ui/browsers/hists.c static void hist_browser__show_callchain_entry(struct hist_browser *browser,
browser           745 tools/perf/ui/browsers/hists.c 	bool show_annotated = browser->show_dso && chain->ms.sym && symbol__annotation(chain->ms.sym)->src;
browser           748 tools/perf/ui/browsers/hists.c 	width = browser->b.width - (offset + 2);
browser           749 tools/perf/ui/browsers/hists.c 	if (ui_browser__is_current_entry(&browser->b, row)) {
browser           750 tools/perf/ui/browsers/hists.c 		browser->selection = &chain->ms;
browser           755 tools/perf/ui/browsers/hists.c 	ui_browser__set_color(&browser->b, color);
browser           756 tools/perf/ui/browsers/hists.c 	ui_browser__gotorc(&browser->b, row, 0);
browser           757 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, " ", offset);
browser           758 tools/perf/ui/browsers/hists.c 	ui_browser__printf(&browser->b, "%c", folded_sign);
browser           759 tools/perf/ui/browsers/hists.c 	ui_browser__write_graph(&browser->b, show_annotated ? SLSMG_RARROW_CHAR : ' ');
browser           760 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, str, width);
browser           775 tools/perf/ui/browsers/hists.c typedef bool (*check_output_full_fn)(struct hist_browser *browser,
browser           778 tools/perf/ui/browsers/hists.c static bool hist_browser__check_output_full(struct hist_browser *browser,
browser           781 tools/perf/ui/browsers/hists.c 	return browser->b.rows == row;
browser           784 tools/perf/ui/browsers/hists.c static bool hist_browser__check_dump_full(struct hist_browser *browser __maybe_unused,
browser           792 tools/perf/ui/browsers/hists.c static int hist_browser__show_callchain_list(struct hist_browser *browser,
browser           814 tools/perf/ui/browsers/hists.c 				       browser->show_dso);
browser           836 tools/perf/ui/browsers/hists.c 	print(browser, chain, str, offset, row, arg);
browser           857 tools/perf/ui/browsers/hists.c static int hist_browser__show_callchain_flat(struct hist_browser *browser,
browser           890 tools/perf/ui/browsers/hists.c 			row += hist_browser__show_callchain_list(browser, child,
browser           896 tools/perf/ui/browsers/hists.c 			if (is_output_full(browser, row))
browser           913 tools/perf/ui/browsers/hists.c 			row += hist_browser__show_callchain_list(browser, child,
browser           919 tools/perf/ui/browsers/hists.c 			if (is_output_full(browser, row))
browser           927 tools/perf/ui/browsers/hists.c 		if (is_output_full(browser, row))
browser           935 tools/perf/ui/browsers/hists.c static char *hist_browser__folded_callchain_str(struct hist_browser *browser,
browser           944 tools/perf/ui/browsers/hists.c 				       browser->show_dso);
browser           961 tools/perf/ui/browsers/hists.c static int hist_browser__show_callchain_folded(struct hist_browser *browser,
browser          1001 tools/perf/ui/browsers/hists.c 			chain_str = hist_browser__folded_callchain_str(browser,
browser          1017 tools/perf/ui/browsers/hists.c 			chain_str = hist_browser__folded_callchain_str(browser,
browser          1033 tools/perf/ui/browsers/hists.c 		print(browser, first_chain, chain_str, offset, row++, arg);
browser          1038 tools/perf/ui/browsers/hists.c 		if (is_output_full(browser, row))
browser          1046 tools/perf/ui/browsers/hists.c static int hist_browser__show_callchain_graph(struct hist_browser *browser,
browser          1083 tools/perf/ui/browsers/hists.c 			row += hist_browser__show_callchain_list(browser, child,
browser          1089 tools/perf/ui/browsers/hists.c 			if (is_output_full(browser, row))
browser          1099 tools/perf/ui/browsers/hists.c 			row += hist_browser__show_callchain_graph(browser, &child->rb_root,
browser          1104 tools/perf/ui/browsers/hists.c 		if (is_output_full(browser, row))
browser          1112 tools/perf/ui/browsers/hists.c static int hist_browser__show_callchain(struct hist_browser *browser,
browser          1129 tools/perf/ui/browsers/hists.c 		printed = hist_browser__show_callchain_flat(browser,
browser          1134 tools/perf/ui/browsers/hists.c 		printed = hist_browser__show_callchain_folded(browser,
browser          1139 tools/perf/ui/browsers/hists.c 		printed = hist_browser__show_callchain_graph(browser,
browser          1146 tools/perf/ui/browsers/hists.c 		browser->he_selection = entry;
browser          1244 tools/perf/ui/browsers/hists.c static int hist_browser__show_entry(struct hist_browser *browser,
browser          1249 tools/perf/ui/browsers/hists.c 	int width = browser->b.width;
browser          1251 tools/perf/ui/browsers/hists.c 	bool current_entry = ui_browser__is_current_entry(&browser->b, row);
browser          1258 tools/perf/ui/browsers/hists.c 		browser->he_selection = entry;
browser          1259 tools/perf/ui/browsers/hists.c 		browser->selection = &entry->ms;
browser          1269 tools/perf/ui/browsers/hists.c 			.b		= &browser->b,
browser          1275 tools/perf/ui/browsers/hists.c 		ui_browser__gotorc(&browser->b, row, 0);
browser          1277 tools/perf/ui/browsers/hists.c 		hists__for_each_format(browser->hists, fmt) {
browser          1286 tools/perf/ui/browsers/hists.c 			    column++ < browser->b.horiz_scroll)
browser          1289 tools/perf/ui/browsers/hists.c 			if (current_entry && browser->b.navkeypressed) {
browser          1290 tools/perf/ui/browsers/hists.c 				ui_browser__set_color(&browser->b,
browser          1293 tools/perf/ui/browsers/hists.c 				ui_browser__set_color(&browser->b,
browser          1299 tools/perf/ui/browsers/hists.c 					ui_browser__printf(&browser->b, "%c ", folded_sign);
browser          1304 tools/perf/ui/browsers/hists.c 				ui_browser__printf(&browser->b, "  ");
browser          1315 tools/perf/ui/browsers/hists.c 				ui_browser__printf(&browser->b, "%s", s + ret);
browser          1318 tools/perf/ui/browsers/hists.c 				ui_browser__printf(&browser->b, "%s", s);
browser          1324 tools/perf/ui/browsers/hists.c 		if (!browser->b.navkeypressed)
browser          1327 tools/perf/ui/browsers/hists.c 		ui_browser__write_nstring(&browser->b, "", width);
browser          1334 tools/perf/ui/browsers/hists.c 	if (folded_sign == '-' && row != browser->b.rows) {
browser          1340 tools/perf/ui/browsers/hists.c 		printed += hist_browser__show_callchain(browser,
browser          1350 tools/perf/ui/browsers/hists.c static int hist_browser__show_hierarchy_entry(struct hist_browser *browser,
browser          1356 tools/perf/ui/browsers/hists.c 	int width = browser->b.width;
browser          1358 tools/perf/ui/browsers/hists.c 	bool current_entry = ui_browser__is_current_entry(&browser->b, row);
browser          1364 tools/perf/ui/browsers/hists.c 		.b		= &browser->b,
browser          1371 tools/perf/ui/browsers/hists.c 		browser->he_selection = entry;
browser          1372 tools/perf/ui/browsers/hists.c 		browser->selection = &entry->ms;
browser          1384 tools/perf/ui/browsers/hists.c 	ui_browser__gotorc(&browser->b, row, 0);
browser          1386 tools/perf/ui/browsers/hists.c 	if (current_entry && browser->b.navkeypressed)
browser          1387 tools/perf/ui/browsers/hists.c 		ui_browser__set_color(&browser->b, HE_COLORSET_SELECTED);
browser          1389 tools/perf/ui/browsers/hists.c 		ui_browser__set_color(&browser->b, HE_COLORSET_NORMAL);
browser          1391 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, "", level * HIERARCHY_INDENT);
browser          1406 tools/perf/ui/browsers/hists.c 		    column++ < browser->b.horiz_scroll)
browser          1409 tools/perf/ui/browsers/hists.c 		if (current_entry && browser->b.navkeypressed) {
browser          1410 tools/perf/ui/browsers/hists.c 			ui_browser__set_color(&browser->b,
browser          1413 tools/perf/ui/browsers/hists.c 			ui_browser__set_color(&browser->b,
browser          1418 tools/perf/ui/browsers/hists.c 			ui_browser__printf(&browser->b, "%c ", folded_sign);
browser          1422 tools/perf/ui/browsers/hists.c 			ui_browser__printf(&browser->b, "  ");
browser          1433 tools/perf/ui/browsers/hists.c 			ui_browser__printf(&browser->b, "%s", s + ret);
browser          1437 tools/perf/ui/browsers/hists.c 			ui_browser__printf(&browser->b, "%s", s);
browser          1443 tools/perf/ui/browsers/hists.c 		ui_browser__write_nstring(&browser->b, "", hierarchy_indent);
browser          1447 tools/perf/ui/browsers/hists.c 	if (column >= browser->b.horiz_scroll) {
browser          1455 tools/perf/ui/browsers/hists.c 		if (current_entry && browser->b.navkeypressed) {
browser          1456 tools/perf/ui/browsers/hists.c 			ui_browser__set_color(&browser->b,
browser          1459 tools/perf/ui/browsers/hists.c 			ui_browser__set_color(&browser->b,
browser          1465 tools/perf/ui/browsers/hists.c 				ui_browser__printf(&browser->b, "%c ", folded_sign);
browser          1468 tools/perf/ui/browsers/hists.c 				ui_browser__write_nstring(&browser->b, "", 2);
browser          1484 tools/perf/ui/browsers/hists.c 				ui_browser__printf(&browser->b, "%s", skip_spaces(s));
browser          1493 tools/perf/ui/browsers/hists.c 	if (!browser->b.navkeypressed)
browser          1496 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, "", width);
browser          1502 tools/perf/ui/browsers/hists.c 	if (entry->leaf && folded_sign == '-' && row != browser->b.rows) {
browser          1507 tools/perf/ui/browsers/hists.c 		printed += hist_browser__show_callchain(browser, entry,
browser          1516 tools/perf/ui/browsers/hists.c static int hist_browser__show_no_entry(struct hist_browser *browser,
browser          1519 tools/perf/ui/browsers/hists.c 	int width = browser->b.width;
browser          1520 tools/perf/ui/browsers/hists.c 	bool current_entry = ui_browser__is_current_entry(&browser->b, row);
browser          1526 tools/perf/ui/browsers/hists.c 	int indent = browser->hists->nr_hpp_node - 2;
browser          1529 tools/perf/ui/browsers/hists.c 		browser->he_selection = NULL;
browser          1530 tools/perf/ui/browsers/hists.c 		browser->selection = NULL;
browser          1533 tools/perf/ui/browsers/hists.c 	ui_browser__gotorc(&browser->b, row, 0);
browser          1535 tools/perf/ui/browsers/hists.c 	if (current_entry && browser->b.navkeypressed)
browser          1536 tools/perf/ui/browsers/hists.c 		ui_browser__set_color(&browser->b, HE_COLORSET_SELECTED);
browser          1538 tools/perf/ui/browsers/hists.c 		ui_browser__set_color(&browser->b, HE_COLORSET_NORMAL);
browser          1540 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, "", level * HIERARCHY_INDENT);
browser          1544 tools/perf/ui/browsers/hists.c 	fmt_node = list_first_entry(&browser->hists->hpp_formats,
browser          1547 tools/perf/ui/browsers/hists.c 		if (perf_hpp__should_skip(fmt, browser->hists) ||
browser          1548 tools/perf/ui/browsers/hists.c 		    column++ < browser->b.horiz_scroll)
browser          1551 tools/perf/ui/browsers/hists.c 		ret = fmt->width(fmt, NULL, browser->hists);
browser          1562 tools/perf/ui/browsers/hists.c 		ui_browser__write_nstring(&browser->b, "", ret);
browser          1566 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, "", indent * HIERARCHY_INDENT);
browser          1569 tools/perf/ui/browsers/hists.c 	if (column >= browser->b.horiz_scroll) {
browser          1572 tools/perf/ui/browsers/hists.c 		ret = snprintf(buf, sizeof(buf), "no entry >= %.2f%%", browser->min_pcnt);
browser          1573 tools/perf/ui/browsers/hists.c 		ui_browser__printf(&browser->b, "  %s", buf);
browser          1578 tools/perf/ui/browsers/hists.c 	if (!browser->b.navkeypressed)
browser          1581 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, "", width);
browser          1592 tools/perf/ui/browsers/hists.c hists_browser__scnprintf_headers(struct hist_browser *browser, char *buf,
browser          1595 tools/perf/ui/browsers/hists.c 	struct hists *hists = browser->hists;
browser          1611 tools/perf/ui/browsers/hists.c 	hists__for_each_format(browser->hists, fmt) {
browser          1612 tools/perf/ui/browsers/hists.c 		if (perf_hpp__should_skip(fmt, hists)  || column++ < browser->b.horiz_scroll)
browser          1630 tools/perf/ui/browsers/hists.c static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *browser, char *buf, size_t size)
browser          1632 tools/perf/ui/browsers/hists.c 	struct hists *hists = browser->hists;
browser          1653 tools/perf/ui/browsers/hists.c 		if (column++ < browser->b.horiz_scroll)
browser          1714 tools/perf/ui/browsers/hists.c static void hists_browser__hierarchy_headers(struct hist_browser *browser)
browser          1718 tools/perf/ui/browsers/hists.c 	hists_browser__scnprintf_hierarchy_headers(browser, headers,
browser          1721 tools/perf/ui/browsers/hists.c 	ui_browser__gotorc(&browser->b, 0, 0);
browser          1722 tools/perf/ui/browsers/hists.c 	ui_browser__set_color(&browser->b, HE_COLORSET_ROOT);
browser          1723 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(&browser->b, headers, browser->b.width + 1);
browser          1726 tools/perf/ui/browsers/hists.c static void hists_browser__headers(struct hist_browser *browser)
browser          1728 tools/perf/ui/browsers/hists.c 	struct hists *hists = browser->hists;
browser          1736 tools/perf/ui/browsers/hists.c 		hists_browser__scnprintf_headers(browser, headers,
browser          1739 tools/perf/ui/browsers/hists.c 		ui_browser__gotorc_title(&browser->b, line, 0);
browser          1740 tools/perf/ui/browsers/hists.c 		ui_browser__set_color(&browser->b, HE_COLORSET_ROOT);
browser          1741 tools/perf/ui/browsers/hists.c 		ui_browser__write_nstring(&browser->b, headers, browser->b.width + 1);
browser          1745 tools/perf/ui/browsers/hists.c static void hist_browser__show_headers(struct hist_browser *browser)
browser          1748 tools/perf/ui/browsers/hists.c 		hists_browser__hierarchy_headers(browser);
browser          1750 tools/perf/ui/browsers/hists.c 		hists_browser__headers(browser);
browser          1753 tools/perf/ui/browsers/hists.c static void ui_browser__hists_init_top(struct ui_browser *browser)
browser          1755 tools/perf/ui/browsers/hists.c 	if (browser->top == NULL) {
browser          1758 tools/perf/ui/browsers/hists.c 		hb = container_of(browser, struct hist_browser, b);
browser          1759 tools/perf/ui/browsers/hists.c 		browser->top = rb_first_cached(&hb->hists->entries);
browser          1763 tools/perf/ui/browsers/hists.c static unsigned int hist_browser__refresh(struct ui_browser *browser)
browser          1767 tools/perf/ui/browsers/hists.c 	struct hist_browser *hb = container_of(browser, struct hist_browser, b);
browser          1772 tools/perf/ui/browsers/hists.c 	ui_browser__hists_init_top(browser);
browser          1776 tools/perf/ui/browsers/hists.c 	for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) {
browser          1793 tools/perf/ui/browsers/hists.c 			if (row == browser->rows)
browser          1804 tools/perf/ui/browsers/hists.c 		if (row == browser->rows)
browser          1850 tools/perf/ui/browsers/hists.c static void ui_browser__hists_seek(struct ui_browser *browser,
browser          1858 tools/perf/ui/browsers/hists.c 	hb = container_of(browser, struct hist_browser, b);
browser          1860 tools/perf/ui/browsers/hists.c 	if (browser->nr_entries == 0)
browser          1863 tools/perf/ui/browsers/hists.c 	ui_browser__hists_init_top(browser);
browser          1867 tools/perf/ui/browsers/hists.c 		nd = hists__filter_entries(rb_first(browser->entries),
browser          1871 tools/perf/ui/browsers/hists.c 		nd = browser->top;
browser          1874 tools/perf/ui/browsers/hists.c 		nd = rb_hierarchy_last(rb_last(browser->entries));
browser          1886 tools/perf/ui/browsers/hists.c 	h = rb_entry(browser->top, struct hist_entry, rb_node);
browser          1917 tools/perf/ui/browsers/hists.c 					browser->top = nd;
browser          1926 tools/perf/ui/browsers/hists.c 			browser->top = nd;
browser          1939 tools/perf/ui/browsers/hists.c 						browser->top = nd;
browser          1949 tools/perf/ui/browsers/hists.c 						browser->top = nd;
browser          1960 tools/perf/ui/browsers/hists.c 			browser->top = nd;
browser          1975 tools/perf/ui/browsers/hists.c 		browser->top = nd;
browser          1981 tools/perf/ui/browsers/hists.c static int hist_browser__fprintf_callchain(struct hist_browser *browser,
browser          1989 tools/perf/ui/browsers/hists.c 	hist_browser__show_callchain(browser, he, level, 0,
browser          1995 tools/perf/ui/browsers/hists.c static int hist_browser__fprintf_entry(struct hist_browser *browser,
browser          2014 tools/perf/ui/browsers/hists.c 	hists__for_each_format(browser->hists, fmt) {
browser          2031 tools/perf/ui/browsers/hists.c 		printed += hist_browser__fprintf_callchain(browser, he, fp, 1);
browser          2037 tools/perf/ui/browsers/hists.c static int hist_browser__fprintf_hierarchy_entry(struct hist_browser *browser,
browser          2088 tools/perf/ui/browsers/hists.c 		printed += hist_browser__fprintf_callchain(browser, he, fp,
browser          2095 tools/perf/ui/browsers/hists.c static int hist_browser__fprintf(struct hist_browser *browser, FILE *fp)
browser          2097 tools/perf/ui/browsers/hists.c 	struct rb_node *nd = hists__filter_entries(rb_first(browser->b.entries),
browser          2098 tools/perf/ui/browsers/hists.c 						   browser->min_pcnt);
browser          2105 tools/perf/ui/browsers/hists.c 			printed += hist_browser__fprintf_hierarchy_entry(browser,
browser          2109 tools/perf/ui/browsers/hists.c 			printed += hist_browser__fprintf_entry(browser, h, fp);
browser          2113 tools/perf/ui/browsers/hists.c 					   browser->min_pcnt);
browser          2119 tools/perf/ui/browsers/hists.c static int hist_browser__dump(struct hist_browser *browser)
browser          2125 tools/perf/ui/browsers/hists.c 		scnprintf(filename, sizeof(filename), "perf.hist.%d", browser->print_seq);
browser          2131 tools/perf/ui/browsers/hists.c 		if (++browser->print_seq == 8192) {
browser          2145 tools/perf/ui/browsers/hists.c 	++browser->print_seq;
browser          2146 tools/perf/ui/browsers/hists.c 	hist_browser__fprintf(browser, fp);
browser          2153 tools/perf/ui/browsers/hists.c void hist_browser__init(struct hist_browser *browser,
browser          2158 tools/perf/ui/browsers/hists.c 	browser->hists			= hists;
browser          2159 tools/perf/ui/browsers/hists.c 	browser->b.refresh		= hist_browser__refresh;
browser          2160 tools/perf/ui/browsers/hists.c 	browser->b.refresh_dimensions	= hist_browser__refresh_dimensions;
browser          2161 tools/perf/ui/browsers/hists.c 	browser->b.seek			= ui_browser__hists_seek;
browser          2162 tools/perf/ui/browsers/hists.c 	browser->b.use_navkeypressed	= true;
browser          2163 tools/perf/ui/browsers/hists.c 	browser->show_headers		= symbol_conf.show_hist_headers;
browser          2164 tools/perf/ui/browsers/hists.c 	hist_browser__set_title_space(browser);
browser          2173 tools/perf/ui/browsers/hists.c 			++browser->b.columns;
browser          2176 tools/perf/ui/browsers/hists.c 		++browser->b.columns;
browser          2179 tools/perf/ui/browsers/hists.c 			++browser->b.columns;
browser          2187 tools/perf/ui/browsers/hists.c 	struct hist_browser *browser = zalloc(sizeof(*browser));
browser          2189 tools/perf/ui/browsers/hists.c 	if (browser)
browser          2190 tools/perf/ui/browsers/hists.c 		hist_browser__init(browser, hists);
browser          2192 tools/perf/ui/browsers/hists.c 	return browser;
browser          2201 tools/perf/ui/browsers/hists.c 	struct hist_browser *browser = hist_browser__new(evsel__hists(evsel));
browser          2203 tools/perf/ui/browsers/hists.c 	if (browser) {
browser          2204 tools/perf/ui/browsers/hists.c 		browser->hbt   = hbt;
browser          2205 tools/perf/ui/browsers/hists.c 		browser->env   = env;
browser          2206 tools/perf/ui/browsers/hists.c 		browser->title = hists_browser__scnprintf_title;
browser          2207 tools/perf/ui/browsers/hists.c 		browser->annotation_opts = annotation_opts;
browser          2209 tools/perf/ui/browsers/hists.c 	return browser;
browser          2212 tools/perf/ui/browsers/hists.c void hist_browser__delete(struct hist_browser *browser)
browser          2214 tools/perf/ui/browsers/hists.c 	free(browser);
browser          2217 tools/perf/ui/browsers/hists.c static struct hist_entry *hist_browser__selected_entry(struct hist_browser *browser)
browser          2219 tools/perf/ui/browsers/hists.c 	return browser->he_selection;
browser          2222 tools/perf/ui/browsers/hists.c static struct thread *hist_browser__selected_thread(struct hist_browser *browser)
browser          2224 tools/perf/ui/browsers/hists.c 	return browser->he_selection->thread;
browser          2233 tools/perf/ui/browsers/hists.c static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size)
browser          2235 tools/perf/ui/browsers/hists.c 	struct hist_browser_timer *hbt = browser->hbt;
browser          2236 tools/perf/ui/browsers/hists.c 	int printed = __hists__scnprintf_title(browser->hists, bf, size, !is_report_browser(hbt));
browser          2364 tools/perf/ui/browsers/hists.c 	int (*fn)(struct hist_browser *browser, struct popup_action *act);
browser          2368 tools/perf/ui/browsers/hists.c do_annotate(struct hist_browser *browser, struct popup_action *act)
browser          2375 tools/perf/ui/browsers/hists.c 	if (!browser->annotation_opts->objdump_path &&
browser          2376 tools/perf/ui/browsers/hists.c 	    perf_env__lookup_objdump(browser->env, &browser->annotation_opts->objdump_path))
browser          2383 tools/perf/ui/browsers/hists.c 	evsel = hists_to_evsel(browser->hists);
browser          2384 tools/perf/ui/browsers/hists.c 	err = map_symbol__tui_annotate(&act->ms, evsel, browser->hbt,
browser          2385 tools/perf/ui/browsers/hists.c 				       browser->annotation_opts);
browser          2386 tools/perf/ui/browsers/hists.c 	he = hist_browser__selected_entry(browser);
browser          2394 tools/perf/ui/browsers/hists.c 	ui_browser__update_nr_entries(&browser->b, browser->hists->nr_entries);
browser          2396 tools/perf/ui/browsers/hists.c 		ui_browser__handle_resize(&browser->b);
browser          2401 tools/perf/ui/browsers/hists.c add_annotate_opt(struct hist_browser *browser __maybe_unused,
browser          2418 tools/perf/ui/browsers/hists.c do_zoom_thread(struct hist_browser *browser, struct popup_action *act)
browser          2422 tools/perf/ui/browsers/hists.c 	if ((!hists__has(browser->hists, thread) &&
browser          2423 tools/perf/ui/browsers/hists.c 	     !hists__has(browser->hists, comm)) || thread == NULL)
browser          2426 tools/perf/ui/browsers/hists.c 	if (browser->hists->thread_filter) {
browser          2427 tools/perf/ui/browsers/hists.c 		pstack__remove(browser->pstack, &browser->hists->thread_filter);
browser          2429 tools/perf/ui/browsers/hists.c 		thread__zput(browser->hists->thread_filter);
browser          2432 tools/perf/ui/browsers/hists.c 		if (hists__has(browser->hists, thread)) {
browser          2441 tools/perf/ui/browsers/hists.c 		browser->hists->thread_filter = thread__get(thread);
browser          2443 tools/perf/ui/browsers/hists.c 		pstack__push(browser->pstack, &browser->hists->thread_filter);
browser          2446 tools/perf/ui/browsers/hists.c 	hists__filter_by_thread(browser->hists);
browser          2447 tools/perf/ui/browsers/hists.c 	hist_browser__reset(browser);
browser          2452 tools/perf/ui/browsers/hists.c add_thread_opt(struct hist_browser *browser, struct popup_action *act,
browser          2457 tools/perf/ui/browsers/hists.c 	if ((!hists__has(browser->hists, thread) &&
browser          2458 tools/perf/ui/browsers/hists.c 	     !hists__has(browser->hists, comm)) || thread == NULL)
browser          2461 tools/perf/ui/browsers/hists.c 	if (hists__has(browser->hists, thread)) {
browser          2463 tools/perf/ui/browsers/hists.c 			       browser->hists->thread_filter ? "out of" : "into",
browser          2468 tools/perf/ui/browsers/hists.c 			       browser->hists->thread_filter ? "out of" : "into",
browser          2480 tools/perf/ui/browsers/hists.c do_zoom_dso(struct hist_browser *browser, struct popup_action *act)
browser          2484 tools/perf/ui/browsers/hists.c 	if (!hists__has(browser->hists, dso) || map == NULL)
browser          2487 tools/perf/ui/browsers/hists.c 	if (browser->hists->dso_filter) {
browser          2488 tools/perf/ui/browsers/hists.c 		pstack__remove(browser->pstack, &browser->hists->dso_filter);
browser          2490 tools/perf/ui/browsers/hists.c 		browser->hists->dso_filter = NULL;
browser          2495 tools/perf/ui/browsers/hists.c 		browser->hists->dso_filter = map->dso;
browser          2497 tools/perf/ui/browsers/hists.c 		pstack__push(browser->pstack, &browser->hists->dso_filter);
browser          2500 tools/perf/ui/browsers/hists.c 	hists__filter_by_dso(browser->hists);
browser          2501 tools/perf/ui/browsers/hists.c 	hist_browser__reset(browser);
browser          2506 tools/perf/ui/browsers/hists.c add_dso_opt(struct hist_browser *browser, struct popup_action *act,
browser          2509 tools/perf/ui/browsers/hists.c 	if (!hists__has(browser->hists, dso) || map == NULL)
browser          2513 tools/perf/ui/browsers/hists.c 		     browser->hists->dso_filter ? "out of" : "into",
browser          2523 tools/perf/ui/browsers/hists.c do_browse_map(struct hist_browser *browser __maybe_unused,
browser          2531 tools/perf/ui/browsers/hists.c add_map_opt(struct hist_browser *browser,
browser          2534 tools/perf/ui/browsers/hists.c 	if (!hists__has(browser->hists, dso) || map == NULL)
browser          2546 tools/perf/ui/browsers/hists.c do_run_script(struct hist_browser *browser __maybe_unused,
browser          2591 tools/perf/ui/browsers/hists.c do_res_sample_script(struct hist_browser *browser __maybe_unused,
browser          2596 tools/perf/ui/browsers/hists.c 	he = hist_browser__selected_entry(browser);
browser          2602 tools/perf/ui/browsers/hists.c add_script_opt_2(struct hist_browser *browser __maybe_unused,
browser          2629 tools/perf/ui/browsers/hists.c add_script_opt(struct hist_browser *browser,
browser          2637 tools/perf/ui/browsers/hists.c 	n = add_script_opt_2(browser, act, optstr, thread, sym, evsel, "");
browser          2639 tools/perf/ui/browsers/hists.c 	he = hist_browser__selected_entry(browser);
browser          2651 tools/perf/ui/browsers/hists.c 		n += add_script_opt_2(browser, act, optstr, thread, sym,
browser          2659 tools/perf/ui/browsers/hists.c add_res_sample_opt(struct hist_browser *browser __maybe_unused,
browser          2680 tools/perf/ui/browsers/hists.c do_switch_data(struct hist_browser *browser __maybe_unused,
browser          2693 tools/perf/ui/browsers/hists.c add_switch_opt(struct hist_browser *browser,
browser          2696 tools/perf/ui/browsers/hists.c 	if (!is_report_browser(browser->hbt))
browser          2707 tools/perf/ui/browsers/hists.c do_exit_browser(struct hist_browser *browser __maybe_unused,
browser          2714 tools/perf/ui/browsers/hists.c add_exit_opt(struct hist_browser *browser __maybe_unused,
browser          2725 tools/perf/ui/browsers/hists.c do_zoom_socket(struct hist_browser *browser, struct popup_action *act)
browser          2727 tools/perf/ui/browsers/hists.c 	if (!hists__has(browser->hists, socket) || act->socket < 0)
browser          2730 tools/perf/ui/browsers/hists.c 	if (browser->hists->socket_filter > -1) {
browser          2731 tools/perf/ui/browsers/hists.c 		pstack__remove(browser->pstack, &browser->hists->socket_filter);
browser          2732 tools/perf/ui/browsers/hists.c 		browser->hists->socket_filter = -1;
browser          2735 tools/perf/ui/browsers/hists.c 		browser->hists->socket_filter = act->socket;
browser          2737 tools/perf/ui/browsers/hists.c 		pstack__push(browser->pstack, &browser->hists->socket_filter);
browser          2740 tools/perf/ui/browsers/hists.c 	hists__filter_by_socket(browser->hists);
browser          2741 tools/perf/ui/browsers/hists.c 	hist_browser__reset(browser);
browser          2746 tools/perf/ui/browsers/hists.c add_socket_opt(struct hist_browser *browser, struct popup_action *act,
browser          2749 tools/perf/ui/browsers/hists.c 	if (!hists__has(browser->hists, socket) || socket_id < 0)
browser          2753 tools/perf/ui/browsers/hists.c 		     (browser->hists->socket_filter > -1) ? "out of" : "into",
browser          2833 tools/perf/ui/browsers/hists.c 	struct hist_browser *browser = perf_evsel_browser__new(evsel, hbt, env, annotation_opts);
browser          2880 tools/perf/ui/browsers/hists.c 	if (browser == NULL)
browser          2888 tools/perf/ui/browsers/hists.c 		browser->min_pcnt = min_pcnt;
browser          2889 tools/perf/ui/browsers/hists.c 	hist_browser__update_nr_entries(browser);
browser          2891 tools/perf/ui/browsers/hists.c 	browser->pstack = pstack__new(3);
browser          2892 tools/perf/ui/browsers/hists.c 	if (browser->pstack == NULL)
browser          2904 tools/perf/ui/browsers/hists.c 		browser->b.no_samples_msg = "Collecting samples...";
browser          2914 tools/perf/ui/browsers/hists.c 		key = hist_browser__run(browser, helpline,
browser          2917 tools/perf/ui/browsers/hists.c 		if (browser->he_selection != NULL) {
browser          2918 tools/perf/ui/browsers/hists.c 			thread = hist_browser__selected_thread(browser);
browser          2919 tools/perf/ui/browsers/hists.c 			map = browser->selection->map;
browser          2920 tools/perf/ui/browsers/hists.c 			socked_id = browser->he_selection->socket;
browser          2934 tools/perf/ui/browsers/hists.c 				ui_browser__warning(&browser->b, delay_secs * 2,
browser          2940 tools/perf/ui/browsers/hists.c 			if (browser->selection == NULL ||
browser          2941 tools/perf/ui/browsers/hists.c 			    browser->selection->sym == NULL ||
browser          2942 tools/perf/ui/browsers/hists.c 			    browser->selection->map->dso->annotate_warned)
browser          2945 tools/perf/ui/browsers/hists.c 			actions->ms.map = browser->selection->map;
browser          2946 tools/perf/ui/browsers/hists.c 			actions->ms.sym = browser->selection->sym;
browser          2947 tools/perf/ui/browsers/hists.c 			do_annotate(browser, actions);
browser          2950 tools/perf/ui/browsers/hists.c 			hist_browser__dump(browser);
browser          2954 tools/perf/ui/browsers/hists.c 			do_zoom_dso(browser, actions);
browser          2958 tools/perf/ui/browsers/hists.c 			browser->show_dso = verbose > 0;
browser          2964 tools/perf/ui/browsers/hists.c 			do_zoom_thread(browser, actions);
browser          2968 tools/perf/ui/browsers/hists.c 			do_zoom_socket(browser, actions);
browser          2978 tools/perf/ui/browsers/hists.c 				hist_browser__reset(browser);
browser          2985 tools/perf/ui/browsers/hists.c 				do_run_script(browser, actions);
browser          2990 tools/perf/ui/browsers/hists.c 				key = do_switch_data(browser, actions);
browser          3019 tools/perf/ui/browsers/hists.c 					ui_browser__warning(&browser->b, delay_secs * 2,
browser          3024 tools/perf/ui/browsers/hists.c 				hist_browser__update_percent_limit(browser, new_percent);
browser          3025 tools/perf/ui/browsers/hists.c 				hist_browser__reset(browser);
browser          3031 tools/perf/ui/browsers/hists.c 			ui_browser__help_window(&browser->b,
browser          3043 tools/perf/ui/browsers/hists.c 			if (pstack__empty(browser->pstack)) {
browser          3051 tools/perf/ui/browsers/hists.c 				    ui_browser__dialog_yesno(&browser->b,
browser          3058 tools/perf/ui/browsers/hists.c 			top = pstack__peek(browser->pstack);
browser          3059 tools/perf/ui/browsers/hists.c 			if (top == &browser->hists->dso_filter) {
browser          3065 tools/perf/ui/browsers/hists.c 				do_zoom_dso(browser, actions);
browser          3066 tools/perf/ui/browsers/hists.c 			} else if (top == &browser->hists->thread_filter) {
browser          3067 tools/perf/ui/browsers/hists.c 				do_zoom_thread(browser, actions);
browser          3068 tools/perf/ui/browsers/hists.c 			} else if (top == &browser->hists->socket_filter) {
browser          3069 tools/perf/ui/browsers/hists.c 				do_zoom_socket(browser, actions);
browser          3100 tools/perf/ui/browsers/hists.c 		if (!hists__has(hists, sym) || browser->selection == NULL)
browser          3105 tools/perf/ui/browsers/hists.c 			if (browser->he_selection)
browser          3106 tools/perf/ui/browsers/hists.c 				bi = browser->he_selection->branch_info;
browser          3111 tools/perf/ui/browsers/hists.c 			nr_options += add_annotate_opt(browser,
browser          3117 tools/perf/ui/browsers/hists.c 				nr_options += add_annotate_opt(browser,
browser          3123 tools/perf/ui/browsers/hists.c 			nr_options += add_annotate_opt(browser,
browser          3126 tools/perf/ui/browsers/hists.c 						       browser->selection->map,
browser          3127 tools/perf/ui/browsers/hists.c 						       browser->selection->sym);
browser          3130 tools/perf/ui/browsers/hists.c 		nr_options += add_thread_opt(browser, &actions[nr_options],
browser          3132 tools/perf/ui/browsers/hists.c 		nr_options += add_dso_opt(browser, &actions[nr_options],
browser          3134 tools/perf/ui/browsers/hists.c 		nr_options += add_map_opt(browser, &actions[nr_options],
browser          3136 tools/perf/ui/browsers/hists.c 					  browser->selection ?
browser          3137 tools/perf/ui/browsers/hists.c 						browser->selection->map : NULL);
browser          3138 tools/perf/ui/browsers/hists.c 		nr_options += add_socket_opt(browser, &actions[nr_options],
browser          3145 tools/perf/ui/browsers/hists.c 		if (browser->he_selection) {
browser          3147 tools/perf/ui/browsers/hists.c 				nr_options += add_script_opt(browser,
browser          3161 tools/perf/ui/browsers/hists.c 			if (hists__has(hists, sym) && browser->selection->sym) {
browser          3162 tools/perf/ui/browsers/hists.c 				nr_options += add_script_opt(browser,
browser          3165 tools/perf/ui/browsers/hists.c 							     NULL, browser->selection->sym,
browser          3169 tools/perf/ui/browsers/hists.c 		nr_options += add_script_opt(browser, &actions[nr_options],
browser          3171 tools/perf/ui/browsers/hists.c 		nr_options += add_res_sample_opt(browser, &actions[nr_options],
browser          3173 tools/perf/ui/browsers/hists.c 				 hist_browser__selected_entry(browser)->res_samples,
browser          3175 tools/perf/ui/browsers/hists.c 		nr_options += add_res_sample_opt(browser, &actions[nr_options],
browser          3177 tools/perf/ui/browsers/hists.c 				 hist_browser__selected_entry(browser)->res_samples,
browser          3179 tools/perf/ui/browsers/hists.c 		nr_options += add_res_sample_opt(browser, &actions[nr_options],
browser          3181 tools/perf/ui/browsers/hists.c 				 hist_browser__selected_entry(browser)->res_samples,
browser          3183 tools/perf/ui/browsers/hists.c 		nr_options += add_switch_opt(browser, &actions[nr_options],
browser          3186 tools/perf/ui/browsers/hists.c 		nr_options += add_exit_opt(browser, &actions[nr_options],
browser          3197 tools/perf/ui/browsers/hists.c 			key = act->fn(browser, act);
browser          3204 tools/perf/ui/browsers/hists.c 	pstack__delete(browser->pstack);
browser          3206 tools/perf/ui/browsers/hists.c 	hist_browser__delete(browser);
browser          3220 tools/perf/ui/browsers/hists.c static void perf_evsel_menu__write(struct ui_browser *browser,
browser          3223 tools/perf/ui/browsers/hists.c 	struct evsel_menu *menu = container_of(browser,
browser          3227 tools/perf/ui/browsers/hists.c 	bool current_entry = ui_browser__is_current_entry(browser, row);
browser          3234 tools/perf/ui/browsers/hists.c 	ui_browser__set_color(browser, current_entry ? HE_COLORSET_SELECTED :
browser          3251 tools/perf/ui/browsers/hists.c 	ui_browser__printf(browser, "%s", bf);
browser          3257 tools/perf/ui/browsers/hists.c 			ui_browser__set_color(browser, HE_COLORSET_TOP);
browser          3264 tools/perf/ui/browsers/hists.c 	ui_browser__write_nstring(browser, warn, browser->width - printed);
browser          3361 tools/perf/ui/browsers/hists.c static bool filter_group_entries(struct ui_browser *browser __maybe_unused,
browser            28 tools/perf/ui/browsers/hists.h 	int                  (*title)(struct hist_browser *browser,
browser            33 tools/perf/ui/browsers/hists.h void hist_browser__delete(struct hist_browser *browser);
browser            34 tools/perf/ui/browsers/hists.h int hist_browser__run(struct hist_browser *browser, const char *help,
browser            36 tools/perf/ui/browsers/hists.h void hist_browser__init(struct hist_browser *browser,
browser            25 tools/perf/ui/browsers/map.c static void map_browser__write(struct ui_browser *browser, void *nd, int row)
browser            28 tools/perf/ui/browsers/map.c 	struct map_browser *mb = container_of(browser, struct map_browser, b);
browser            29 tools/perf/ui/browsers/map.c 	bool current_entry = ui_browser__is_current_entry(browser, row);
browser            32 tools/perf/ui/browsers/map.c 	ui_browser__set_percent_color(browser, 0, current_entry);
browser            33 tools/perf/ui/browsers/map.c 	ui_browser__printf(browser, "%*" PRIx64 " %*" PRIx64 " %c ",
browser            37 tools/perf/ui/browsers/map.c 	width = browser->width - ((mb->addrlen * 2) + 4);
browser            39 tools/perf/ui/browsers/map.c 		ui_browser__write_nstring(browser, sym->name, width);
browser            43 tools/perf/ui/browsers/map.c static u32 *symbol__browser_index(struct symbol *browser)
browser            45 tools/perf/ui/browsers/map.c 	return ((void *)browser) - sizeof(struct rb_node) - sizeof(u32);
browser            48 tools/perf/ui/browsers/map.c static int map_browser__search(struct map_browser *browser)
browser            60 tools/perf/ui/browsers/map.c 		sym = map__find_symbol(browser->map, addr);
browser            62 tools/perf/ui/browsers/map.c 		sym = map__find_symbol_by_name(browser->map, target);
browser            67 tools/perf/ui/browsers/map.c 		browser->b.top = &sym->rb_node;
browser            68 tools/perf/ui/browsers/map.c 		browser->b.index = browser->b.top_idx = *idx;
browser            75 tools/perf/ui/browsers/map.c static int map_browser__run(struct map_browser *browser)
browser            79 tools/perf/ui/browsers/map.c 	if (ui_browser__show(&browser->b, browser->map->dso->long_name,
browser            85 tools/perf/ui/browsers/map.c 		key = ui_browser__run(&browser->b, 0);
browser            90 tools/perf/ui/browsers/map.c 				map_browser__search(browser);
browser           101 tools/perf/ui/browsers/map.c 	ui_browser__hide(&browser->b);
browser            15 tools/perf/ui/tui/util.c static void ui_browser__argv_write(struct ui_browser *browser,
browser            19 tools/perf/ui/tui/util.c 	bool current_entry = ui_browser__is_current_entry(browser, row);
browser            21 tools/perf/ui/tui/util.c 	ui_browser__set_color(browser, current_entry ? HE_COLORSET_SELECTED :
browser            23 tools/perf/ui/tui/util.c 	ui_browser__write_nstring(browser, *arg, browser->width);