libsysprof-profile: add getter for capture writer

This commit is contained in:
Christian Hergert
2023-05-26 17:07:16 -07:00
parent e4ec04812d
commit 7c98f782c0

View File

@ -288,3 +288,11 @@ _sysprof_recording_get_spawnable (SysprofRecording *self)
return self->spawnable;
}
SysprofCaptureWriter *
_sysprof_recording_writer (SysprofRecording *self)
{
g_return_val_if_fail (SYSPROF_IS_RECORDING (self), NULL);
return self->writer;
}