mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: fix GDBusConnection usage
This commit is contained in:
@ -366,15 +366,15 @@ sysprof_perf_event_stream_new (GDBusConnection *connection,
|
|||||||
|
|
||||||
g_dbus_connection_call_with_unix_fd_list (connection,
|
g_dbus_connection_call_with_unix_fd_list (connection,
|
||||||
"org.gnome.Sysprof3",
|
"org.gnome.Sysprof3",
|
||||||
"/org/gnome/Sysprof3/Service",
|
"/org/gnome/Sysprof3",
|
||||||
"org.gnome.Sysprof3.Service",
|
"org.gnome.Sysprof3.Service",
|
||||||
"PerfEventOpen",
|
"PerfEventOpen",
|
||||||
g_variant_new ("(@a{sv}ii@ht)",
|
g_variant_new ("(@a{sv}iiht)",
|
||||||
g_variant_dict_end (&options),
|
g_variant_dict_end (&options),
|
||||||
-1,
|
-1,
|
||||||
cpu,
|
cpu,
|
||||||
group_fd_handle,
|
group_fd_handle,
|
||||||
flags),
|
(guint64)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