Home
last modified time | relevance | path

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

12

/linux/tools/perf/ui/
H A Dbrowser.c13 #include "browser.h"
20 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, colo in ui_browser__set_percent_color()
47 ui_browser__gotorc_title(struct ui_browser * browser,int y,int x) ui_browser__gotorc_title() argument
52 ui_browser__gotorc(struct ui_browser * browser,int y,int x) ui_browser__gotorc() argument
78 ui_browser__list_head_filter_entries(struct ui_browser * browser,struct list_head * pos) ui_browser__list_head_filter_entries() argument
91 ui_browser__list_head_filter_prev_entries(struct ui_browser * browser,struct list_head * pos) ui_browser__list_head_filter_prev_entries() argument
103 ui_browser__list_head_seek(struct ui_browser * browser,off_t offset,int whence) ui_browser__list_head_seek() argument
138 ui_browser__rb_tree_seek(struct ui_browser * browser,off_t offset,int whence) ui_browser__rb_tree_seek() argument
168 ui_browser__rb_tree_refresh(struct ui_browser * browser) ui_browser__rb_tree_refresh() argument
189 ui_browser__is_current_entry(struct ui_browser * browser,unsigned row) ui_browser__is_current_entry() argument
194 ui_browser__refresh_dimensions(struct ui_browser * browser) ui_browser__refresh_dimensions() argument
203 ui_browser__handle_resize(struct ui_browser * browser) ui_browser__handle_resize() argument
210 ui_browser__warning(struct ui_browser * browser,int timeout,const char * format,...) ui_browser__warning() argument
236 ui_browser__warn_unhandled_hotkey(struct ui_browser * browser,int key,int timeout,const char * help) ui_browser__warn_unhandled_hotkey() argument
244 ui_browser__help_window(struct ui_browser * browser,const char * text) ui_browser__help_window() argument
254 ui_browser__dialog_yesno(struct ui_browser * browser,const char * text) ui_browser__dialog_yesno() argument
264 ui_browser__reset_index(struct ui_browser * browser) ui_browser__reset_index() argument
270 __ui_browser__show_title(struct ui_browser * browser,const char * title) __ui_browser__show_title() argument
277 ui_browser__show_title(struct ui_browser * browser,const char * title) ui_browser__show_title() argument
284 ui_browser__show(struct ui_browser * browser,const char * title,const char * helpline,...) ui_browser__show() argument
311 ui_browser__hide(struct ui_browser * browser) ui_browser__hide() argument
320 ui_browser__scrollbar_set(struct ui_browser * browser) ui_browser__scrollbar_set() argument
342 __ui_browser__refresh(struct ui_browser * browser) __ui_browser__refresh() argument
363 ui_browser__refresh(struct ui_browser * browser) ui_browser__refresh() argument
378 ui_browser__update_nr_entries(struct ui_browser * browser,u32 nr_entries) ui_browser__update_nr_entries() argument
396 ui_browser__run(struct ui_browser * browser,int delay_secs) ui_browser__run() argument
510 ui_browser__list_head_refresh(struct ui_browser * browser) ui_browser__list_head_refresh() argument
620 ui_browser__argv_seek(struct ui_browser * browser,off_t offset,int whence) ui_browser__argv_seek() argument
639 ui_browser__argv_refresh(struct ui_browser * browser) ui_browser__argv_refresh() argument
665 __ui_browser__vline(struct ui_browser * browser,unsigned int column,u16 start,u16 end) __ui_browser__vline() argument
682 __ui_browser__line_arrow_up(struct ui_browser * browser,unsigned int column,u64 start,u64 end) __ui_browser__line_arrow_up() argument
722 __ui_browser__line_arrow_down(struct ui_browser * browser,unsigned int column,u64 start,u64 end) __ui_browser__line_arrow_down() argument
762 __ui_browser__line_arrow(struct ui_browser * browser,unsigned int column,u64 start,u64 end) __ui_browser__line_arrow() argument
771 ui_browser__mark_fused(struct ui_browser * browser,unsigned int column,unsigned int row,int diff,bool arrow_down) ui_browser__mark_fused() argument
[all...]
H A 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 …]
H A DBuild10 perf-ui-$(CONFIG_SLANG) += browser.o
/linux/tools/perf/ui/browsers/
H A Dannotate.c2 #include "../browser.h"
59 static inline struct annotation *browser__annotation(struct ui_browser *browser) in browser__annotation() argument
61 struct map_symbol *ms = browser->priv; in browser__annotation()
65 static bool disasm_line__filter(struct ui_browser *browser __maybe_unused, void *entry) in disasm_line__filter()
71 static int ui_browser__jumps_percent_color(struct ui_browser *browser, int nr, bool current) in ui_browser__jumps_percent_color() argument
73 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color()
75 if (current && (!browser->use_navkeypressed || browser->navkeypressed)) in ui_browser__jumps_percent_color()
84 static int ui_browser__set_jumps_percent_color(void *browser, int nr, bool current) in ui_browser__set_jumps_percent_color() argument
86 int color = ui_browser__jumps_percent_color(browser, n in ui_browser__set_jumps_percent_color()
90 annotate_browser__set_color(void * browser,int color) annotate_browser__set_color() argument
95 annotate_browser__write_graph(void * browser,int graph) annotate_browser__write_graph() argument
100 annotate_browser__set_percent_color(void * browser,double percent,bool current) annotate_browser__set_percent_color() argument
105 annotate_browser__printf(void * browser,const char * fmt,...) annotate_browser__printf() argument
114 annotate_browser__write(struct ui_browser * browser,void * entry,int row) annotate_browser__write() argument
183 annotate_browser__draw_current_jump(struct ui_browser * browser) annotate_browser__draw_current_jump() argument
254 annotate_browser__refresh(struct ui_browser * browser) annotate_browser__refresh() argument
282 disasm_rb_tree__insert(struct annotate_browser * browser,struct annotation_line * al) disasm_rb_tree__insert() argument
303 annotate_browser__set_top(struct annotate_browser * browser,struct annotation_line * pos,u32 idx) annotate_browser__set_top() argument
326 annotate_browser__set_rb_top(struct annotate_browser * browser,struct rb_node * nd) annotate_browser__set_rb_top() argument
338 annotate_browser__calc_percent(struct annotate_browser * browser,struct evsel * evsel) annotate_browser__calc_percent() argument
383 annotate_browser__find_new_asm_line(struct annotate_browser * browser,int idx_asm) annotate_browser__find_new_asm_line() argument
400 annotate_browser__find_next_asm_line(struct annotate_browser * browser,struct annotation_line * al) annotate_browser__find_next_asm_line() argument
445 annotate_browser__toggle_source(struct annotate_browser * browser,struct evsel * evsel) annotate_browser__toggle_source() argument
525 annotate_browser__show_full_location(struct ui_browser * browser) annotate_browser__show_full_location() argument
542 ui_browser__init_asm_mode(struct ui_browser * browser) ui_browser__init_asm_mode() argument
558 annotate_browser__show_function_title(struct annotate_browser * browser) annotate_browser__show_function_title() argument
581 annotate_browser__callq(struct annotate_browser * browser,struct evsel * evsel,struct hist_browser_timer * hbt) annotate_browser__callq() argument
620 annotate_browser__find_offset(struct annotate_browser * browser,s64 offset,s64 * idx) annotate_browser__find_offset() argument
637 annotate_browser__jump(struct annotate_browser * browser,struct evsel * evsel,struct hist_browser_timer * hbt) annotate_browser__jump() argument
666 annotate_browser__find_string(struct annotate_browser * browser,char * s,s64 * idx) annotate_browser__find_string() argument
686 __annotate_browser__search(struct annotate_browser * browser) __annotate_browser__search() argument
703 annotate_browser__find_string_reverse(struct annotate_browser * browser,char * s,s64 * idx) annotate_browser__find_string_reverse() argument
723 __annotate_browser__search_reverse(struct annotate_browser * browser) __annotate_browser__search_reverse() argument
739 annotate_browser__search_window(struct annotate_browser * browser,int delay_secs) annotate_browser__search_window() argument
751 annotate_browser__search(struct annotate_browser * browser,int delay_secs) annotate_browser__search() argument
759 annotate_browser__continue_search(struct annotate_browser * browser,int delay_secs) annotate_browser__continue_search() argument
768 annotate_browser__search_reverse(struct annotate_browser * browser,int delay_secs) annotate_browser__search_reverse() argument
778 annotate_browser__continue_search_reverse(struct annotate_browser * browser,int delay_secs) annotate_browser__continue_search_reverse() argument
787 annotate_browser__show(struct annotate_browser * browser,char * title,const char * help) annotate_browser__show() argument
841 annotate_browser__debuginfo_warning(struct annotate_browser * browser) annotate_browser__debuginfo_warning() argument
855 annotate_browser__curr_hot_offset(struct annotate_browser * browser) annotate_browser__curr_hot_offset() argument
865 annotate_browser__symbol_annotate_error(struct annotate_browser * browser,int err) annotate_browser__symbol_annotate_error() argument
877 annotate_browser__run(struct annotate_browser * browser,struct evsel * evsel,struct hist_browser_timer * hbt) annotate_browser__run() argument
1164 struct annotate_browser browser = { __hist_entry__tui_annotate() local
[all...]
H A Dhists.c51 static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size);
62 static int hist_browser__get_folding(struct hist_browser *browser) in hist_browser__get_folding() argument
65 struct hists *hists = browser->hists; in hist_browser__get_folding()
69 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding()
82 struct ui_browser *browser = &hb->b; in hist_browser__set_title_space() local
86 browser->extra_title_lines = hb->show_headers ? hpp_list->nr_header_lines : 0; in hist_browser__set_title_space()
106 struct ui_browser *browser = &hb->b; in hist_browser__update_rows() local
112 browser->rows += browser->extra_title_lines; in hist_browser__update_rows()
113 browser->extra_title_lines = 0; in hist_browser__update_rows()
117 browser->extra_title_lines = hpp_list->nr_header_lines; in hist_browser__update_rows()
[all …]
H A Dmap.c12 #include "../browser.h"
25 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) in symbol__browser_index()
48 map_browser__search(struct map_browser * browser) map_browser__search() argument
75 map_browser__run(struct map_browser * browser) map_browser__run() argument
[all...]
H A Dannotate-data.c76 static int add_child_entries(struct annotated_data_browser *browser, in add_child_entries() argument
90 entry->hists = calloc(browser->nr_events, sizeof(*entry->hists)); in add_child_entries()
108 parent_list = &browser->entries; in add_child_entries()
113 int nr = add_child_entries(browser, entry, adt, pos, evsel, in add_child_entries()
142 static u32 count_visible_entries(struct annotated_data_browser *browser) in count_visible_entries() argument
147 list_for_each_entry(entry, &browser->entries, node) in count_visible_entries()
153 static int annotated_data_browser__collect_entries(struct annotated_data_browser *browser) in annotated_data_browser__collect_entries() argument
155 struct hist_entry *he = browser->b.priv; in annotated_data_browser__collect_entries()
159 INIT_LIST_HEAD(&browser->entries); in annotated_data_browser__collect_entries()
161 add_child_entries(browser, /*parent=*/NULL, adt, &adt->self, evsel, in annotated_data_browser__collect_entries()
[all …]
H A 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()
H A Dhists.h28 int (*title)(struct hist_browser *browser,
33 void hist_browser__delete(struct hist_browser *browser);
34 int hist_browser__run(struct hist_browser *browser, const char *help,
36 void hist_browser__init(struct hist_browser *browser,
/linux/tools/perf/ui/tui/
H A 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()
/linux/tools/perf/
H A Dbuiltin-c2c.c2620 static int perf_c2c__toggle_annotation(struct hist_browser *browser) in perf_c2c__toggle_annotation()
2622 struct hist_entry *he = browser->he_selection; in perf_c2c__toggle_annotation()
2629 ui_browser__help_window(&browser->b, "No annotation support");
2634 ui_browser__help_window(&browser->b, "No entry selected for annotation"); in c2c_browser__update_nr_entries()
2640 ui_browser__help_window(&browser->b, "Can not annotate, no symbol found"); in c2c_browser__update_nr_entries()
2646 ui_browser__help_window(&browser->b, "Failed to initialize annotation source");
2680 perf_c2c_cacheline_browser__title(struct hist_browser *browser, in c2c_cacheline_browser__new()
2687 cl_browser = container_of(browser, struct c2c_cacheline_browser, hb); in perf_c2c__browse_cacheline()
2700 struct c2c_cacheline_browser *browser; in perf_c2c__browse_cacheline()
2702 browser in perf_c2c__browse_cacheline()
2593 perf_c2c__toggle_annotation(struct hist_browser * browser) perf_c2c__toggle_annotation() argument
2653 perf_c2c_cacheline_browser__title(struct hist_browser * browser,char * bf,size_t size) perf_c2c_cacheline_browser__title() argument
2673 struct c2c_cacheline_browser *browser; c2c_cacheline_browser__new() local
2691 struct hist_browser *browser; perf_c2c__browse_cacheline() local
2750 perf_c2c_browser__title(struct hist_browser * browser,char * bf,size_t size) perf_c2c_browser__title() argument
2764 struct hist_browser *browser = hist_browser__new(hists); perf_c2c_browser__new() local
2776 struct hist_browser *browser; perf_c2c__hists_browse() local
[all...]
H A Dbuiltin-kvm.c534 static int kvm_browser__title(struct hist_browser *browser, in kvm_browser__title()
538 browser->nr_non_filtered_entries); in kvm_browser__title()
545 struct hist_browser *browser = hist_browser__new(hists); in perf_kvm_browser__new()
547 if (browser) in perf_kvm_browser__new()
548 browser->title = kvm_browser__title; in perf_kvm_browser__new()
550 return browser; in perf_kvm_browser__new()
555 struct hist_browser *browser; in kvm__hists_browse()
558 browser = perf_kvm_browser__new(hists); in kvm__hists_browse()
559 if (browser == NULL) in kvm__hists_browse()
566 kvm_browser__update_nr_entries(browser); in kvm__hists_browse()
533 kvm_browser__title(struct hist_browser * browser,char * buf,size_t size) kvm_browser__title() argument
544 struct hist_browser *browser = hist_browser__new(hists); perf_kvm_browser__new() local
554 struct hist_browser *browser; kvm__hists_browse() local
[all...]
/linux/tools/perf/Documentation/
H A Dperf.txt63 in browser mode
67 and perf report without browser)
H A Dperf-config.txt348 This option works with tui browser.
684 around samples in perf report sample context browser.
689 in the interactive perf browser and whose output is displayed.
H A Dperf-report.txt530 go straight to the histogram browser, just like 'perf report' with no events
570 report tui browser.
/linux/tools/perf/ui/gtk/
H A DBuild3 gtk-y += browser.o
/linux/Documentation/userspace-api/
H A Dmseal.rst131 - Chrome browser: protect some security sensitive data structures.
202 CFI [4]. Chrome browser in ChromeOS will be the first user of this API.
H A Dcheck_exec.rst20 However, a JavaScript engine running in a web browser should already be
/linux/Documentation/RCU/
H A Drcu.rst92 …Or point your browser at (https://docs.google.com/document/d/1X0lThx8OK0ZgLMqVoXiR4ZrGURHrXK6NyLRb…
/linux/Documentation/hwmon/
H A Dw83627hf.rst66 [1] http://www.lm-sensors.org/browser/lm-sensors/trunk/doc/vid
/linux/Documentation/userspace-api/media/rc/
H A Drc-tables.rst673 - Open the default browser
/linux/drivers/accessibility/speakup/
H A DKconfig12 point your browser at <http://www.linux-speakup.org/>.
/linux/Documentation/admin-guide/hw-vuln/
H A Dattack_vector_controls.rst43 shown to be exploitable from browser-based sandboxes. User-to-kernel
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcgroups.rst145 and depending on who is launching the browser he can::
150 a separate cgroup for every browser launched and associate it with
155 access temporarily to a student's browser (since it is night and the user
/linux/Documentation/fb/
H A Dframebuffer.rst328 Point your web browser to http://sourceforge.net/projects/linux-fbdev/ for

12