libsysprof-profile: make enable/disable accessible

This commit is contained in:
Christian Hergert
2023-06-03 23:12:54 -07:00
parent 25d629beb4
commit d1db76a08d

View File

@ -133,5 +133,9 @@ DexFuture *sysprof_perf_event_stream_new (GDBusConnection *connection,
SysprofPerfEventCallback callback, SysprofPerfEventCallback callback,
gpointer callback_data, gpointer callback_data,
GDestroyNotify callback_data_destroy); GDestroyNotify callback_data_destroy);
gboolean sysprof_perf_event_stream_enable (SysprofPerfEventStream *self,
GError **error);
gboolean sysprof_perf_event_stream_disable (SysprofPerfEventStream *self,
GError **error);
G_END_DECLS G_END_DECLS