libsysprof-analyze: add superblock-options property

This lets you get the full string that was parsed from the mountinfo
rather than having to go through our yet-to-be-implemented specific
option API.
This commit is contained in:
Christian Hergert
2023-05-11 15:13:23 -07:00
parent 1f9d37837d
commit 35f87b6121
3 changed files with 65 additions and 14 deletions

View File

@ -32,23 +32,25 @@ SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofMount, sysprof_mount, SYSPROF, MOUNT, GObject)
SYSPROF_AVAILABLE_IN_ALL
int sysprof_mount_get_device_major (SysprofMount *self);
int sysprof_mount_get_device_major (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
int sysprof_mount_get_device_minor (SysprofMount *self);
int sysprof_mount_get_device_minor (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
int sysprof_mount_get_mount_id (SysprofMount *self);
int sysprof_mount_get_mount_id (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
int sysprof_mount_get_parent_mount_id (SysprofMount *self);
int sysprof_mount_get_parent_mount_id (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_root (SysprofMount *self);
const char *sysprof_mount_get_root (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_mount_point (SysprofMount *self);
const char *sysprof_mount_get_mount_point (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_mount_source (SysprofMount *self);
const char *sysprof_mount_get_mount_source (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_filesystem_type (SysprofMount *self);
const char *sysprof_mount_get_filesystem_type (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_superblock_option (SysprofMount *self,
const char *option);
const char *sysprof_mount_get_superblock_options (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_superblock_option (SysprofMount *self,
const char *option);
G_END_DECLS