Commit Graph

7 Commits

Author SHA1 Message Date
63168656a5 libsysprof-analyze: add get_relative_path helper
This acts somewhat like g_file_get_relative_path() in that if it is not a
subdirectory of the parent, NULL is returned. Otherwise the relative path
is returned. We can just dive into the substring instead of copying which
is a bonus point.
2023-05-19 10:02:20 -07:00
7db4540f9a libsysprof-analyze: rename mount-path to mount-point
We want to be consistent with SysprofMount in naming.
2023-05-19 10:01:02 -07:00
d448519c29 libsysprof-analyze: prefix private API with _ 2023-05-18 16:23:12 -07:00
7c37120edf libsysprof-analyze: make SysprofMount public API
And expose it via sysprof_document_process_list_mounts() so that when
inspecting processes we can see what binaries were mapped as well as what
the filesystem looked like to locate those mapped paths.
2023-05-11 14:37:02 -07:00
a393dd9acd 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.
2023-05-11 13:58:34 -07:00
0b0fe9f903 libsysprof-analyze: give mount access to strings in ctor 2023-05-10 12:55:30 -07:00
fd6256e68f libsysprof-analyze: start on object to represent a mount 2023-05-09 20:46:10 -07:00