Files
sysprof/src/org.gnome.Sysprof.Agent.xml
Christian Hergert dc829087d4 tools: add sysprof-agent
This is a program that can be communicated with over private D-Bus using
pipes to control a process. It is useful in an automated fashion from
tooling such as Builder.

This allows, when installed into SDKs like GNOMEs, to profile from inside
the container rather than from the outside. Such is useful when you need
to ensure you have access to LD_PRELOAD/etc within the context.
2022-07-21 18:28:18 -07:00

37 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 xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<!--
Copyright 2022 Christian Hergert <chergert@redhat.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: GPL-3.0-or-later
-->
<interface name="org.gnome.Sysprof.Agent">
<method name="ForceExit"/>
<method name="SendSignal">
<arg name="signum" direction="in" type="i">
<doc:doc><doc:summary>The signal number to deliver.</doc:summary></doc:doc>
</arg>
</method>
<signal name="Log">
<arg name="message" direction="in" type="s">
<doc:doc><doc:summary>The log message to be displayed.</doc:summary></doc:doc>
</arg>
</signal>
</interface>
</node>