libsysprof-capture: add metadata frame type

This will allow sources and aids to discover information about what was
done between capture loading and saving.
This commit is contained in:
Christian Hergert
2019-05-19 21:57:52 -07:00
parent 53a337bf00
commit db9aea95ea
9 changed files with 189 additions and 2 deletions

View File

@ -159,6 +159,10 @@ sysprof_capture_cursor_foreach (SysprofCaptureCursor *self,
delegate = READ_DELEGATE (sysprof_capture_reader_read_counter_set);
break;
case SYSPROF_CAPTURE_FRAME_METADATA:
delegate = READ_DELEGATE (sysprof_capture_reader_read_metadata);
break;
default:
if (!sysprof_capture_reader_skip (self->reader))
return;