proc: discover filesystem root for podman containers

For processes we find in a podman container, we can sniff the libpod
cgroup scope. Using that we can translate into the podman layer that
contains the files.

With that, future work could find the proper .so when resolving based on
alternate roots for the process.
This commit is contained in:
Christian Hergert
2021-02-24 18:40:41 -08:00
parent b5790be7ad
commit b22899474d
2 changed files with 158 additions and 1 deletions

View File

@ -113,6 +113,7 @@ endif
libsysprof_pkg_deps = [
dependency('gio-2.0', version: glib_req_version),
dependency('gio-unix-2.0', version: glib_req_version),
dependency('json-glib-1.0'),
polkit_dep,
libsysprof_capture_deps,
]