libsysprof: add mountinfo helper

The goal of this helper is to simplify the process of parsing information
about mounts and the mountinfo for per-process maps. We should be able
to change sysprof-proc-source to use this and have better support for
getting the libraries within different mount namespaces.
This commit is contained in:
Christian Hergert
2019-08-02 12:56:14 -07:00
parent 1cb182d1df
commit 7e7657dd03
5 changed files with 391 additions and 0 deletions

View File

@ -69,6 +69,7 @@ libsysprof_private_sources = [
'sysprof-kallsyms.c',
'sysprof-line-reader.c',
'sysprof-map-lookaside.c',
'sysprof-mountinfo.c',
'sysprof-polkit.c',
'sysprof-symbol-map.c',
ipc_service_src,