[sysprof] libsysprof-capture: skip frame when necessary
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] libsysprof-capture: skip frame when necessary
- Date: Wed, 29 May 2019 22:48:05 +0000 (UTC)
commit 9410238d303654f6e20222143b9c517f4fcbabb3
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]