[gnome-builder] plugins/sysprof: add toggle for GJS stack traces



commit a818d56459f7a13348a2fee777ed5fe8f99294ea
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 21 12:41:35 2022 -0700

    plugins/sysprof: add toggle for GJS stack traces

 src/plugins/sysprof/gtk/menus.ui                          | 5 +++++
 src/plugins/sysprof/org.gnome.builder.sysprof.gschema.xml | 1 +
 2 files changed, 6 insertions(+)
---
diff --git a/src/plugins/sysprof/gtk/menus.ui b/src/plugins/sysprof/gtk/menus.ui
index e325b848b..191581371 100644
--- a/src/plugins/sysprof/gtk/menus.ui
+++ b/src/plugins/sysprof/gtk/menus.ui
@@ -40,6 +40,11 @@
             <attribute name="action">sysprof.memprof-aid</attribute>
             <attribute name="role">check</attribute>
           </item>
+          <item>
+            <attribute name="label" translatable="yes">Sample JavaScript Stacks</attribute>
+            <attribute name="action">sysprof.gjs-aid</attribute>
+            <attribute name="role">check</attribute>
+          </item>
         </section>
         <section id="run-menu-sysprof-graphics-section">
           <attribute name="label" translatable="yes">Graphics</attribute>
diff --git a/src/plugins/sysprof/org.gnome.builder.sysprof.gschema.xml 
b/src/plugins/sysprof/org.gnome.builder.sysprof.gschema.xml
index b88e84c6e..b0d09db47 100644
--- a/src/plugins/sysprof/org.gnome.builder.sysprof.gschema.xml
+++ b/src/plugins/sysprof/org.gnome.builder.sysprof.gschema.xml
@@ -10,6 +10,7 @@
     <key type="b" name="energy-aid"><default>false</default></key>
     <key type="b" name="battery-aid"><default>false</default></key>
     <key type="b" name="compositor-aid"><default>false</default></key>
+    <key type="b" name="gjs-aid"><default>false</default></key>
     <key type="b" name="allow-throttle"><default>true</default></key>
     <key type="b" name="allow-tracefd"><default>true</default></key>
   </schema>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]