libsysprof-analyze: parse various data from mountinfo

We still need to parse optional fields for filesystem type and what not
so that we can resolve btrfs subvolumes and more.
This commit is contained in:
Christian Hergert
2023-05-11 13:58:34 -07:00
parent f914580675
commit a393dd9acd
2 changed files with 69 additions and 11 deletions

View File

@ -34,8 +34,10 @@ SysprofMount *sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
const char *mountinfo);
int sysprof_mount_get_device_major (SysprofMount *self);
int sysprof_mount_get_device_minor (SysprofMount *self);
int sysprof_mount_get_mount_id (SysprofMount *self);
int sysprof_mount_get_parent_mount_id (SysprofMount *self);
const char *sysprof_mount_get_root (SysprofMount *self);
const char *sysprof_mount_get_mount_path (SysprofMount *self);
const char *sysprof_mount_get_mount_point (SysprofMount *self);
const char *sysprof_mount_get_mount_source (SysprofMount *self);
const char *sysprof_mount_get_filesystem_type (SysprofMount *self);
const char *sysprof_mount_get_superblock_option (SysprofMount *self,