libsysprof-profile: add API to append a file to recording

This commit is contained in:
Christian Hergert
2023-05-30 14:43:44 -07:00
parent 957cec9843
commit 14f71c5eee
2 changed files with 142 additions and 0 deletions

View File

@ -20,6 +20,8 @@
#pragma once
#include <libdex.h>
#include "sysprof-instrument.h"
#include "sysprof-recording.h"
#include "sysprof-spawnable.h"
@ -32,5 +34,8 @@ SysprofRecording *_sysprof_recording_new (SysprofCaptureWriter *w
void _sysprof_recording_start (SysprofRecording *self);
SysprofCaptureWriter *_sysprof_recording_writer (SysprofRecording *self);
SysprofSpawnable *_sysprof_recording_get_spawnable (SysprofRecording *self);
DexFuture *_sysprof_recording_add_file (SysprofRecording *self,
const char *path,
gboolean compress);
G_END_DECLS