src: add Capabilities property to profiler

This commit is contained in:
Christian Hergert
2019-05-29 15:11:04 -07:00
parent a74e6daa3b
commit 4bfcef7d82

View File

@ -2,6 +2,17 @@
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node> <node>
<interface name="org.gnome.Sysprof3.Profiler"> <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: Start:
@options: an a{sv} of implementation specific options @options: an a{sv} of implementation specific options
@ -14,6 +25,8 @@
It is also suggested that implementations disable profiling if It is also suggested that implementations disable profiling if
they lose the peer connection. they lose the peer connection.
The contents of @options are implementation specific.
--> -->
<method name="Start"> <method name="Start">
<arg type="a{sv}" name="options" direction="in"/> <arg type="a{sv}" name="options" direction="in"/>