mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-04-23 14:01:26 +00:00
reader: add sp_capture_reader_copy()
This function allows copying a capture so that we can do additional reads. This does, however, copy the buffers which might be more memory than we want for large usage. We can tweak things as we go to figure out the cursors.
This commit is contained in:
@ -29,6 +29,7 @@ SpCaptureReader *sp_capture_reader_new (const
|
||||
GError **error);
|
||||
SpCaptureReader *sp_capture_reader_new_from_fd (int fd,
|
||||
GError **error);
|
||||
SpCaptureReader *sp_capture_reader_copy (SpCaptureReader *self);
|
||||
SpCaptureReader *sp_capture_reader_ref (SpCaptureReader *self);
|
||||
void sp_capture_reader_unref (SpCaptureReader *self);
|
||||
const gchar *sp_capture_reader_get_filename (SpCaptureReader *self);
|
||||
|
||||
Reference in New Issue
Block a user