[sysprof] libsysprof-ui: also try to connect to D-Bus if pids specified



commit 49127e5b17d7136cb9148c3927dae27213fb75dc
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 6 17:34:12 2019 -0700

    libsysprof-ui: also try to connect to D-Bus if pids specified
    
    If we are connecting to an existing process, we want to try to extract
    profiling data using D-Bus for that process.

 src/libsysprof-ui/ui/sysprof-profiler-assistant.ui | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/libsysprof-ui/ui/sysprof-profiler-assistant.ui 
b/src/libsysprof-ui/ui/sysprof-profiler-assistant.ui
index 9ac90c0..02ef1cc 100644
--- a/src/libsysprof-ui/ui/sysprof-profiler-assistant.ui
+++ b/src/libsysprof-ui/ui/sysprof-profiler-assistant.ui
@@ -20,6 +20,12 @@
         <property name="envvar">GTK_TRACE_FD</property>
       </object>
     </child>
+    <child>
+      <object class="SysprofProxySource">
+        <property name="bus-type">session</property>
+        <property name="object-path">/org/gtk/Profiler</property>
+      </object>
+    </child>
   </object>
   <object class="SysprofAid" id="gjs_aid">
     <property name="display-name">GJS</property>


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