[sysprof] libsysprof-capture: copy discovered end_time



commit 74ea7d197cfa7b51d29c33f8dd27ce59c66c2e72
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 13 14:50:54 2019 -0700

    libsysprof-capture: copy discovered end_time

 src/libsysprof-capture/sysprof-capture-reader.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libsysprof-capture/sysprof-capture-reader.c b/src/libsysprof-capture/sysprof-capture-reader.c
index b777c1c..e4dc91f 100644
--- a/src/libsysprof-capture/sysprof-capture-reader.c
+++ b/src/libsysprof-capture/sysprof-capture-reader.c
@@ -948,6 +948,7 @@ sysprof_capture_reader_copy (SysprofCaptureReader *self)
   copy->ref_count = 1;
   copy->filename = g_strdup (self->filename);
   copy->fd = fd;
+  copy->end_time = self->end_time;
 
   copy->buf = g_malloc (self->bufsz);
   memcpy (copy->buf, self->buf, self->bufsz);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]