mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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
45 lines
1.4 KiB
XML
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>
|