mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: make enable/disable accessible
This commit is contained in:
@ -125,13 +125,17 @@ typedef void (*SysprofPerfEventCallback) (const SysprofPerfEvent *event,
|
||||
|
||||
G_DECLARE_FINAL_TYPE (SysprofPerfEventStream, sysprof_perf_event_stream, SYSPROF, PERF_EVENT_STREAM, GObject)
|
||||
|
||||
DexFuture *sysprof_perf_event_stream_new (GDBusConnection *connection,
|
||||
struct perf_event_attr *attr,
|
||||
int cpu,
|
||||
int group_fd,
|
||||
gulong flags,
|
||||
SysprofPerfEventCallback callback,
|
||||
gpointer callback_data,
|
||||
GDestroyNotify callback_data_destroy);
|
||||
DexFuture *sysprof_perf_event_stream_new (GDBusConnection *connection,
|
||||
struct perf_event_attr *attr,
|
||||
int cpu,
|
||||
int group_fd,
|
||||
gulong flags,
|
||||
SysprofPerfEventCallback callback,
|
||||
gpointer callback_data,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user