[gnome-builder/wip/gtk4-port] plugins/sysprof: start on some menu items
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/sysprof: start on some menu items
- Date: Tue, 17 May 2022 06:12:13 +0000 (UTC)
commit 4756a447cac7c7892265eecb6c765331445fd9b1
Author: Christian Hergert <chergert redhat com>
Date: Mon May 16 23:12:09 2022 -0700
plugins/sysprof: start on some menu items
src/plugins/sysprof/gtk/menus.ui | 46 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 45 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/sysprof/gtk/menus.ui b/src/plugins/sysprof/gtk/menus.ui
index af1460eaa..8dd0a749c 100644
--- a/src/plugins/sysprof/gtk/menus.ui
+++ b/src/plugins/sysprof/gtk/menus.ui
@@ -16,12 +16,56 @@
<attribute name="id">sysprof-run-handler</attribute>
<attribute name="after">default-run-handler</attribute>
<attribute name="action">sysprof.run</attribute>
- <attribute name="label" translatable="yes">Run with Sysprof</attribute>
+ <attribute name="label" translatable="yes">Run with Profiler</attribute>
<attribute name="verb-icon-name">builder-profiler-symbolic</attribute>
<attribute name="accel"><Control>F8</attribute>
</item>
</section>
</menu>
+ <menu id="run-menu">
+ <section id="run-menu-settings-section">
+ <submenu id="run-menu-sysprof-submenu">
+ <attribute name="before">run-menu-verbose-logging</attribute>
+ <attribute name="label" translatable="yes">Profiler</attribute>
+ <section id="run-menu-sysprof-threads-section">
+ <attribute name="label" translatable="yes">Thread Sampling</attribute>
+ <item>
+ <attribute name="label" translatable="yes">CPU Performance</attribute>
+ <attribute name="action">sysprof.perf-aid</attribute>
+ <attribute name="role">check</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Memory Allocations</attribute>
+ <attribute name="action">sysprof.memprof-aid</attribute>
+ <attribute name="role">check</attribute>
+ </item>
+ </section>
+ <section id="run-menu-sysprof-counters-section">
+ <attribute name="label" translatable="yes">Counters</attribute>
+ <item>
+ <attribute name="label" translatable="yes">Storage I/O</attribute>
+ <attribute name="action">sysprof.diskstat-aid</attribute>
+ <attribute name="role">check</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Network I/O</attribute>
+ <attribute name="action">sysprof.netstat-aid</attribute>
+ <attribute name="role">check</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Energy Usage</attribute>
+ <attribute name="action">sysprof.energy-aid</attribute>
+ <attribute name="role">check</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Battery Usage</attribute>
+ <attribute name="action">sysprof.battery-aid</attribute>
+ <attribute name="role">check</attribute>
+ </item>
+ </section>
+ </submenu>
+ </section>
+ </menu>
<menu id="project-tree-run-with-submenu">
<section id="project-tree-menu-run-with-section">
<item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]