libsysprof: add API to add compressed file from data

This commit is contained in:
Christian Hergert
2023-07-19 18:29:12 -07:00
parent 233685d5ad
commit 90ed413c5a
4 changed files with 50 additions and 4 deletions

View File

@ -211,7 +211,7 @@ add_process_info (SysprofRecording *recording,
* in resolving symbols later on.
*/
mount_path = g_strdup_printf ("/proc/%u/mountinfo", pid);
_sysprof_recording_add_file_data (recording, mount_path, mountinfo, -1);
_sysprof_recording_add_file_data (recording, mount_path, mountinfo, -1, FALSE);
/* Ignore inodes from podman/toolbox because they appear to always be
* wrong. We'll have to rely on CRC/build-id instead.