sysprof: add dbus utility

This allows viewing the message contents that were captured in a textview
within the utility pane.

We already limit the max size of a message in the capture file, so
presumably messages are relatively small enough to fit here.
This commit is contained in:
Christian Hergert
2023-08-01 11:20:24 -07:00
parent fa1c88eaf9
commit 3c33ae06a0
9 changed files with 252 additions and 5 deletions

View File

@ -65,6 +65,8 @@ SYSPROF_AVAILABLE_IN_ALL
GDBusMessageFlags sysprof_document_dbus_message_get_flags (SysprofDocumentDBusMessage *self);
SYSPROF_AVAILABLE_IN_ALL
GBusType sysprof_document_dbus_message_get_bus_type (SysprofDocumentDBusMessage *self);
SYSPROF_AVAILABLE_IN_ALL
char *sysprof_document_dbus_message_dup_string (SysprofDocumentDBusMessage *self);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofDocumentDBusMessage, g_object_unref)