[sysprof] src: add Capabilities property to profiler



commit 4bfcef7d82c25c35d596c31e93decaace285d100
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 29 15:11:04 2019 -0700

    src: add Capabilities property to profiler

 src/org.gnome.Sysprof3.Profiler.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/src/org.gnome.Sysprof3.Profiler.xml b/src/org.gnome.Sysprof3.Profiler.xml
index c5c5e8a..3208511 100644
--- a/src/org.gnome.Sysprof3.Profiler.xml
+++ b/src/org.gnome.Sysprof3.Profiler.xml
@@ -2,6 +2,17 @@
 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd";>
 <node>
   <interface name="org.gnome.Sysprof3.Profiler">
+    <!--
+      Capabilities:
+
+      The "Capabilities" property contains an a{sv} of capabilities
+      the profiler supports. This is implementation specific and allows
+      for peers to configure the profiler when calling Start() based on
+      what the profiler supports.
+
+      The contents of Capabilities are implementation specific.
+    -->
+    <property name="Capabilities" type="a{sv}" access="read"/>
     <!--
       Start:
       @options: an a{sv} of implementation specific options
@@ -14,6 +25,8 @@
 
       It is also suggested that implementations disable profiling if
       they lose the peer connection.
+
+      The contents of @options are implementation specific.
     -->
     <method name="Start">
       <arg type="a{sv}" name="options" direction="in"/>


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