libsysprof-analyze: add plumbing to track overlays

This just gets the plumbing into place, we'll still need to use it to do
the path translations.
This commit is contained in:
Christian Hergert
2023-05-19 17:03:35 -07:00
parent 3ff5312c2e
commit 39e6be47fb
3 changed files with 47 additions and 7 deletions

View File

@ -147,6 +147,16 @@ sysprof_mount_namespace_add_mount (SysprofMountNamespace *self,
g_ptr_array_add (self->mounts, mount);
}
void
sysprof_mount_namespace_add_overlay (SysprofMountNamespace *self,
SysprofDocumentOverlay *overlay)
{
g_return_if_fail (SYSPROF_IS_MOUNT_NAMESPACE (self));
g_return_if_fail (SYSPROF_IS_DOCUMENT_OVERLAY (overlay));
/* TODO */
}
static SysprofMountDevice *
sysprof_mount_namespace_find_device (SysprofMountNamespace *self,
SysprofMount *mount,