mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
libsysprof-profile: add recording helper to capture file data
We might have the file data from the peer and can specify the data in the capture writer directly. It may be useful to allow compressing these too, but we can deal with that at a later time.
This commit is contained in:
@ -37,5 +37,9 @@ SysprofSpawnable *_sysprof_recording_get_spawnable (SysprofRecording *s
|
||||
DexFuture *_sysprof_recording_add_file (SysprofRecording *self,
|
||||
const char *path,
|
||||
gboolean compress);
|
||||
void _sysprof_recording_add_file_data (SysprofRecording *self,
|
||||
const char *path,
|
||||
const char *contents,
|
||||
gssize length);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user