libsysprof-capture: skip frame when necessary

This commit is contained in:
Christian Hergert
2019-05-27 17:16:48 -07:00
parent 596d29496d
commit 9410238d30

View File

@ -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;