| 1 | <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" |
| 2 | "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> |
| 3 | <node> |
| 4 | <interface name="org.gnome.Sysprof3.Profiler"> |
| 5 | <!-- |
| 6 | Capabilities: |
| 7 | |
| 8 | The "Capabilities" property contains an a{sv} of capabilities |
| 9 | the profiler supports. This is implementation specific and allows |
| 10 | for peers to configure the profiler when calling Start() based on |
| 11 | what the profiler supports. |
| 12 | |
| 13 | The contents of Capabilities are implementation specific. |
| 14 | --> |
| 15 | <property name="Capabilities" type="a{sv}" access="read"/> |
| 16 | <!-- |
| 17 | Start: |
| 18 | @options: an a{sv} of implementation specific options |
| 19 | @fd: a file-descriptor for the profiler to write to |
| 20 | |
| 21 | Start the profiler if it is not running. |
| 22 | |
| 23 | If the profiler is already running, this method should return |
| 24 | an error so that the caller knows not to call Stop(). |
| 25 | |
| 26 | It is also suggested that implementations disable profiling if |
| 27 | they lose the peer connection. |
| 28 | |
| 29 | The contents of @options are implementation specific. |
| 30 | --> |
| 31 | <method name="Start"> |
| 32 | <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/> |
| 33 | <arg type="a{sv}" name="options" direction="in"/> |
| 34 | <arg type="h" name="fd" direction="in"/> |
| 35 | </method> |
| 36 | <!-- |
| 37 | Stop: |
| 38 | |
| 39 | Stop the profiler if it is running. |
| 40 | --> |
| 41 | <method name="Stop"/> |
| 42 | </interface> |
| 43 | </node> |