mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
libsysprof-capture: copy discovered end_time
This commit is contained in:
@ -948,6 +948,7 @@ sysprof_capture_reader_copy (SysprofCaptureReader *self)
|
|||||||
copy->ref_count = 1;
|
copy->ref_count = 1;
|
||||||
copy->filename = g_strdup (self->filename);
|
copy->filename = g_strdup (self->filename);
|
||||||
copy->fd = fd;
|
copy->fd = fd;
|
||||||
|
copy->end_time = self->end_time;
|
||||||
|
|
||||||
copy->buf = g_malloc (self->bufsz);
|
copy->buf = g_malloc (self->bufsz);
|
||||||
memcpy (copy->buf, self->buf, self->bufsz);
|
memcpy (copy->buf, self->buf, self->bufsz);
|
||||||
|
|||||||
Reference in New Issue
Block a user