Files
sysprof/src/org.gnome.Sysprof3.Profiler.xml
Christian Hergert b624ec8809 build: track changes to GLib and gdbus-codegen
GLib is already doing this, which broke a number of auto-generated code.
This tracks those changes and manually sets the annotations so that we
are guaranteed to get this behavior.

We'll need to fix other uses (such as in Mutter), but we have to do that
already because of the change in GLib.

Fixes #17
2019-10-30 14:46:20 -07:00

45 lines
1.4 KiB
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"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
@fd: a file-descriptor for the profiler to write to
Start the profiler if it is not running.
If the profiler is already running, this method should return
an error so that the caller knows not to call Stop().
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"/>
<arg type="h" name="fd" direction="in">
<annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
</arg>
</method>
<!--
Stop:
Stop the profiler if it is running.
-->
<method name="Stop"/>
</interface>
</node>