tools: add tool to toggle a profiler

This is in-tree only currently, although we may consider installing it
at some point (or adding it to sysprof-cli).
This commit is contained in:
Christian Hergert
2019-05-16 15:29:55 -07:00
parent 28bcb5daee
commit adcf667b5a
4 changed files with 219 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<!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">
<method name='Start'>
<arg type='h' name='fd' direction='in'/>
</method>
<method name='Stop'/>
</interface>
</node>