libsysprof-analyze: treat overlay as SysprofMount

This creates a synthesized SysprofMount for the overlays so that we can
process them as we walk the other mounts.
This commit is contained in:
Christian Hergert
2023-05-22 18:36:27 -07:00
parent 754e5df789
commit 1469e8691a
5 changed files with 75 additions and 51 deletions

View File

@ -24,7 +24,6 @@
#include "sysprof-mount-private.h"
#include "sysprof-mount-device-private.h"
#include "sysprof-document-overlay.h"
G_BEGIN_DECLS
@ -38,8 +37,6 @@ void sysprof_mount_namespace_add_device (SysprofMountNamespa
SysprofMountDevice *mount);
void sysprof_mount_namespace_add_mount (SysprofMountNamespace *self,
SysprofMount *mount);
void sysprof_mount_namespace_add_overlay (SysprofMountNamespace *self,
SysprofDocumentOverlay *overlay);
char **sysprof_mount_namespace_translate (SysprofMountNamespace *self,
const char *path);