Home
last modified time | relevance | path

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

/tools/perf/ui/browsers/
Dheader.c32 static int list_menu__run(struct ui_browser *menu) in list_menu__run() argument
43 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0) in list_menu__run()
47 key = ui_browser__run(menu, 0); in list_menu__run()
51 offset = (unsigned long)menu->priv; in list_menu__run()
53 menu->priv = (void *)offset; in list_menu__run()
56 offset = (unsigned long)menu->priv; in list_menu__run()
59 menu->priv = (void *)offset; in list_menu__run()
64 ui_browser__help_window(menu, help); in list_menu__run()
78 ui_browser__hide(menu); in list_menu__run()
84 struct ui_browser menu = { in ui__list_menu() local
[all …]
Dhists.c3410 struct evsel_menu *menu = container_of(browser, in perf_evsel_menu__write() local
3442 menu->lost_events = true; in perf_evsel_menu__write()
3454 menu->selection = evsel; in perf_evsel_menu__write()
3457 static int perf_evsel_menu__run(struct evsel_menu *menu, in perf_evsel_menu__run() argument
3462 struct evlist *evlist = menu->b.priv; in perf_evsel_menu__run()
3468 if (ui_browser__show(&menu->b, title, in perf_evsel_menu__run()
3473 key = ui_browser__run(&menu->b, delay_secs); in perf_evsel_menu__run()
3480 if (!menu->lost_events_warned && in perf_evsel_menu__run()
3481 menu->lost_events && in perf_evsel_menu__run()
3483 ui_browser__warn_lost_events(&menu->b); in perf_evsel_menu__run()
[all …]
/tools/perf/Documentation/
Dcat-texi.perl6 my @menu = ();
15 push @menu, $1;
36 for (@menu) {
Dtips.txt38 To browse sample contexts use perf report --sample 10 and select in context menu
Dperf-top.txt318 broadcast packet arrives This will show a menu with two entries and
399 Pressing any unmapped key displays a menu, and prompts for input.
Dperf-config.txt665 Any option defines a script that is added to the scripts menu
/tools/perf/ui/tui/
Dutil.c26 static int popup_menu__run(struct ui_browser *menu, int *keyp) in popup_menu__run() argument
30 if (ui_browser__show(menu, " ", "ESC: exit, ENTER|->: Select option") < 0) in popup_menu__run()
34 key = ui_browser__run(menu, 0); in popup_menu__run()
39 key = menu->index; in popup_menu__run()
50 key = menu->nr_entries; in popup_menu__run()
59 ui_browser__hide(menu); in popup_menu__run()
65 struct ui_browser menu = { in ui__popup_menu() local
72 return popup_menu__run(&menu, keyp); in ui__popup_menu()
/tools/perf/scripts/python/
Dexported-sql-viewer.py2290 menu = QMenu(self.view)
2294menu.addAction(CreateAction(menu_text, "Show Call Tree", lambda a=None, args=thread_at_time: self.…
2295 menu.exec_(pos)
4043 menu = QMenu(self.view)
4044 self.AddActions(menu)
4045 menu.exec_(self.view.mapToGlobal(pos))
4047 def AddCopy(self, menu): argument
4048menu.addAction(CreateAction("&Copy selection", "Copy to clipboard", lambda: CopyCellsToClipboardHd…
4049menu.addAction(CreateAction("Copy selection as CS&V", "Copy to clipboard as CSV", lambda: CopyCell…
4051 def AddActions(self, menu): argument
[all …]
/tools/usb/usbip/
DCOPYING324 mouse-clicks or menu items--whatever suits your program.