[sysprof/wip/chergert/sysprof-3] libsysprof-capture: skip frame when necessary
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof-capture: skip frame when necessary
- Date: Tue, 28 May 2019 00:18:56 +0000 (UTC)
commit a0fc4f5c122894e95a6207c46c986f8d648a2e11
Author: Christian Hergert <chergert redhat com>
Date: Mon May 27 17:16:48 2019 -0700
libsysprof-capture: skip frame when necessary
src/libsysprof-capture/sysprof-capture-reader.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libsysprof-capture/sysprof-capture-reader.c b/src/libsysprof-capture/sysprof-capture-reader.c
index 1819f3f..2e91ac6 100644
--- a/src/libsysprof-capture/sysprof-capture-reader.c
+++ b/src/libsysprof-capture/sysprof-capture-reader.c
@@ -1197,7 +1197,10 @@ sysprof_capture_reader_list_files (SysprofCaptureReader *self)
const SysprofCaptureFileChunk *file;
if (type != SYSPROF_CAPTURE_FRAME_FILE_CHUNK)
- continue;
+ {
+ sysprof_capture_reader_skip (self);
+ continue;
+ }
if (!(file = sysprof_capture_reader_read_file (self)))
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]