Home
last modified time | relevance | path

Searched refs:browser (Results 1 – 15 of 15) sorted by relevance

/tools/perf/ui/
Dbrowser.c20 static int ui_browser__percent_color(struct ui_browser *browser, in ui_browser__percent_color() argument
23 if (current && (!browser->use_navkeypressed || browser->navkeypressed)) in ui_browser__percent_color()
32 int ui_browser__set_color(struct ui_browser *browser, int color) in ui_browser__set_color() argument
34 int ret = browser->current_color; in ui_browser__set_color()
35 browser->current_color = color; in ui_browser__set_color()
40 void ui_browser__set_percent_color(struct ui_browser *browser, in ui_browser__set_percent_color() argument
43 int color = ui_browser__percent_color(browser, percent, current); in ui_browser__set_percent_color()
44 ui_browser__set_color(browser, color); in ui_browser__set_percent_color()
47 void ui_browser__gotorc_title(struct ui_browser *browser, int y, int x) in ui_browser__gotorc_title() argument
49 SLsmg_gotorc(browser->y + y, browser->x + x); in ui_browser__gotorc_title()
[all …]
Dbrowser.h27 void (*refresh_dimensions)(struct ui_browser *browser);
28 unsigned int (*refresh)(struct ui_browser *browser);
29 void (*write)(struct ui_browser *browser, void *entry, int row);
30 void (*seek)(struct ui_browser *browser, off_t offset, int whence);
31 bool (*filter)(struct ui_browser *browser, void *entry);
37 int ui_browser__set_color(struct ui_browser *browser, int color);
38 void ui_browser__set_percent_color(struct ui_browser *browser,
40 bool ui_browser__is_current_entry(struct ui_browser *browser, unsigned row);
41 void ui_browser__refresh_dimensions(struct ui_browser *browser);
42 void ui_browser__reset_index(struct ui_browser *browser);
[all …]
DBuild10 perf-$(CONFIG_SLANG) += browser.o
/tools/perf/ui/browsers/
Dannotate.c40 static inline struct annotation *browser__annotation(struct ui_browser *browser) in browser__annotation() argument
42 struct map_symbol *ms = browser->priv; in browser__annotation()
46 static bool disasm_line__filter(struct ui_browser *browser, void *entry) in disasm_line__filter() argument
48 struct annotation *notes = browser__annotation(browser); in disasm_line__filter()
53 static int ui_browser__jumps_percent_color(struct ui_browser *browser, int nr, bool current) in ui_browser__jumps_percent_color() argument
55 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color()
57 if (current && (!browser->use_navkeypressed || browser->navkeypressed)) in ui_browser__jumps_percent_color()
66 static int ui_browser__set_jumps_percent_color(void *browser, int nr, bool current) in ui_browser__set_jumps_percent_color() argument
68 int color = ui_browser__jumps_percent_color(browser, nr, current); in ui_browser__set_jumps_percent_color()
69 return ui_browser__set_color(browser, color); in ui_browser__set_jumps_percent_color()
[all …]
Dhists.c50 static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size);
61 static int hist_browser__get_folding(struct hist_browser *browser) in hist_browser__get_folding() argument
64 struct hists *hists = browser->hists; in hist_browser__get_folding()
68 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding()
81 struct ui_browser *browser = &hb->b; in hist_browser__set_title_space() local
85 browser->extra_title_lines = hb->show_headers ? hpp_list->nr_header_lines : 0; in hist_browser__set_title_space()
105 struct ui_browser *browser = &hb->b; in hist_browser__update_rows() local
111 browser->rows += browser->extra_title_lines; in hist_browser__update_rows()
112 browser->extra_title_lines = 0; in hist_browser__update_rows()
116 browser->extra_title_lines = hpp_list->nr_header_lines; in hist_browser__update_rows()
[all …]
Dmap.c25 static void map_browser__write(struct ui_browser *browser, void *nd, int row) in map_browser__write() argument
28 struct map_browser *mb = container_of(browser, struct map_browser, b); in map_browser__write()
29 bool current_entry = ui_browser__is_current_entry(browser, row); in map_browser__write()
32 ui_browser__set_percent_color(browser, 0, current_entry); in map_browser__write()
33 ui_browser__printf(browser, "%*" PRIx64 " %*" PRIx64 " %c ", in map_browser__write()
37 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write()
39 ui_browser__write_nstring(browser, sym->name, width); in map_browser__write()
43 static u32 *symbol__browser_index(struct symbol *browser) in symbol__browser_index() argument
45 return ((void *)browser) - sizeof(struct rb_node) - sizeof(u32); in symbol__browser_index()
48 static int map_browser__search(struct map_browser *browser) in map_browser__search() argument
[all …]
Dhists.h30 int (*title)(struct hist_browser *browser,
35 void hist_browser__delete(struct hist_browser *browser);
36 int hist_browser__run(struct hist_browser *browser, const char *help,
38 void hist_browser__init(struct hist_browser *browser,
Dheader.c12 static void ui_browser__argv_write(struct ui_browser *browser, in ui_browser__argv_write() argument
18 bool current_entry = ui_browser__is_current_entry(browser, row); in ui_browser__argv_write()
19 unsigned long offset = (unsigned long)browser->priv; in ui_browser__argv_write()
26 ui_browser__set_color(browser, current_entry ? HE_COLORSET_SELECTED : in ui_browser__argv_write()
29 ui_browser__write_nstring(browser, str, browser->width); in ui_browser__argv_write()
/tools/perf/ui/tui/
Dutil.c15 static void ui_browser__argv_write(struct ui_browser *browser, in ui_browser__argv_write() argument
19 bool current_entry = ui_browser__is_current_entry(browser, row); in ui_browser__argv_write()
21 ui_browser__set_color(browser, current_entry ? HE_COLORSET_SELECTED : in ui_browser__argv_write()
23 ui_browser__write_nstring(browser, *arg, browser->width); in ui_browser__argv_write()
/tools/perf/
Dbuiltin-c2c.c2309 perf_c2c_cacheline_browser__title(struct hist_browser *browser, in perf_c2c_cacheline_browser__title() argument
2316 cl_browser = container_of(browser, struct c2c_cacheline_browser, hb); in perf_c2c_cacheline_browser__title()
2329 struct c2c_cacheline_browser *browser; in c2c_cacheline_browser__new() local
2331 browser = zalloc(sizeof(*browser)); in c2c_cacheline_browser__new()
2332 if (browser) { in c2c_cacheline_browser__new()
2333 hist_browser__init(&browser->hb, hists); in c2c_cacheline_browser__new()
2334 browser->hb.c2c_filter = true; in c2c_cacheline_browser__new()
2335 browser->hb.title = perf_c2c_cacheline_browser__title; in c2c_cacheline_browser__new()
2336 browser->he = he; in c2c_cacheline_browser__new()
2339 return browser; in c2c_cacheline_browser__new()
[all …]
/tools/perf/ui/gtk/
DBuild3 gtk-y += browser.o
/tools/perf/Documentation/
Dperf.txt63 in browser mode
Dperf-config.txt325 This option works with tui browser.
679 around samples in perf report sample context browser.
684 in the interactive perf browser and whose output is displayed.
Dperf-report.txt479 go straight to the histogram browser, just like 'perf report' with no events
519 report tui browser.
Dperf-top.txt331 go straight to the histogram browser, just like 'perf top' with no events