mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 15:40:53 +00:00
libsysprof-profile: fix flags type
So we can pass it right through.
This commit is contained in:
@ -448,7 +448,7 @@ sysprof_perf_event_stream_new (GDBusConnection *connection,
|
|||||||
struct perf_event_attr *attr,
|
struct perf_event_attr *attr,
|
||||||
int cpu,
|
int cpu,
|
||||||
int group_fd,
|
int group_fd,
|
||||||
gulong flags,
|
guint64 flags,
|
||||||
SysprofPerfEventCallback callback,
|
SysprofPerfEventCallback callback,
|
||||||
gpointer callback_data,
|
gpointer callback_data,
|
||||||
GDestroyNotify callback_data_destroy)
|
GDestroyNotify callback_data_destroy)
|
||||||
@ -509,7 +509,7 @@ sysprof_perf_event_stream_new (GDBusConnection *connection,
|
|||||||
-1,
|
-1,
|
||||||
cpu,
|
cpu,
|
||||||
group_fd_handle,
|
group_fd_handle,
|
||||||
(guint64)flags),
|
flags),
|
||||||
G_VARIANT_TYPE ("(h)"),
|
G_VARIANT_TYPE ("(h)"),
|
||||||
G_DBUS_CALL_FLAGS_NONE,
|
G_DBUS_CALL_FLAGS_NONE,
|
||||||
G_MAXUINT,
|
G_MAXUINT,
|
||||||
|
|||||||
Reference in New Issue
Block a user