Home
last modified time | relevance | path

Searched refs:menu (Results 1 – 5 of 5) sorted by relevance

/tools/perf/ui/browsers/
Dheader.c31 static int list_menu__run(struct ui_browser *menu) in list_menu__run() argument
42 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0) in list_menu__run()
46 key = ui_browser__run(menu, 0); in list_menu__run()
50 offset = (unsigned long)menu->priv; in list_menu__run()
52 menu->priv = (void *)offset; in list_menu__run()
55 offset = (unsigned long)menu->priv; in list_menu__run()
58 menu->priv = (void *)offset; in list_menu__run()
63 ui_browser__help_window(menu, help); in list_menu__run()
77 ui_browser__hide(menu); in list_menu__run()
83 struct ui_browser menu = { in ui__list_menu() local
[all …]
Dhists.c1816 struct perf_evsel_menu *menu = container_of(browser, in perf_evsel_menu__write() local
1848 menu->lost_events = true; in perf_evsel_menu__write()
1860 menu->selection = evsel; in perf_evsel_menu__write()
1863 static int perf_evsel_menu__run(struct perf_evsel_menu *menu, in perf_evsel_menu__run() argument
1867 struct perf_evlist *evlist = menu->b.priv; in perf_evsel_menu__run()
1873 if (ui_browser__show(&menu->b, title, in perf_evsel_menu__run()
1878 key = ui_browser__run(&menu->b, delay_secs); in perf_evsel_menu__run()
1884 if (!menu->lost_events_warned && menu->lost_events) { in perf_evsel_menu__run()
1885 ui_browser__warn_lost_events(&menu->b); in perf_evsel_menu__run()
1886 menu->lost_events_warned = true; in perf_evsel_menu__run()
[all …]
/tools/perf/ui/tui/
Dutil.c27 static int popup_menu__run(struct ui_browser *menu) in popup_menu__run() argument
31 if (ui_browser__show(menu, " ", "ESC: exit, ENTER|->: Select option") < 0) in popup_menu__run()
35 key = ui_browser__run(menu, 0); in popup_menu__run()
40 key = menu->index; in popup_menu__run()
55 ui_browser__hide(menu); in popup_menu__run()
61 struct ui_browser menu = { in ui__popup_menu() local
69 return popup_menu__run(&menu); in ui__popup_menu()
/tools/perf/Documentation/
Dperf-top.txt235 Pressing any unmapped key displays a menu, and prompts for input.
/tools/usb/usbip/
DCOPYING324 mouse-clicks or menu items--whatever suits your program.