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

@ -41,7 +41,8 @@ DexFuture *_sysprof_recording_add_file (SysprofRecording *s
void _sysprof_recording_add_file_data (SysprofRecording *self,
const char *path,
const char *contents,
gssize length);
gssize length,
gboolean compress);
void _sysprof_recording_diagnostic (SysprofRecording *self,
const char *domain,
const char *format,