libsysprof-profile: add recording session fiber

Setup instrument policy, preparation, etc.
This commit is contained in:
Christian Hergert
2023-05-26 15:05:29 -07:00
parent fac12d657a
commit b4e6f7c915
5 changed files with 208 additions and 133 deletions

View File

@ -41,6 +41,13 @@ gboolean sysprof_recording_wait_finish (SysprofRecording *self,
GAsyncResult *result,
GError **error);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_recording_stop (SysprofRecording *self);
void sysprof_recording_stop_async (SysprofRecording *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_recording_stop_finish (SysprofRecording *self,
GAsyncResult *result,
GError **error);
G_END_DECLS