libsysprof-profile: add address mappings parser

This parses the contents of /proc/$pid/maps and has a crude helper to test
it against real world files (which found a missing capture we had).
This commit is contained in:
Christian Hergert
2023-06-09 17:23:06 -07:00
parent 9e8c4dba54
commit ee165ea91f
5 changed files with 211 additions and 0 deletions

View File

@ -17,6 +17,7 @@ libsysprof_profile_public_sources = [
libsysprof_profile_private_sources = [
'mapped-ring-buffer-source.c',
'sysprof-controlfd-instrument.c',
'sysprof-maps-parser.c',
'sysprof-perf-event-stream.c',
'sysprof-podman.c',
'sysprof-polkit.c',