libsysprof-analyze: add memory map and builder objects

The goal here is to have a memory map for each of our processes so that we
can translate a memory address into an offset within a file.

We will then use an upcoming SysprofMountNamespace as a view into a process
file system layout to convert the mapped filename into something we can
access from the current process (be it on the host, or via flatpak, etc).
This commit is contained in:
Christian Hergert
2023-05-04 14:30:02 -07:00
parent 16d03ed630
commit 89fb7329a8
3 changed files with 184 additions and 0 deletions

View File

@ -21,6 +21,7 @@ libsysprof_analyze_public_sources = [
libsysprof_analyze_private_sources = [
'sysprof-mapped-file.c',
'sysprof-memory-map.c',
]
libsysprof_analyze_public_headers = [