2 * probe gio.task_new - Called when a new #GTask is created
3 * @task: the new #GTask object
4 * @source_object: the source object
5 * @cancellable: the #GCancellable
6 * @callback: the task’s callback
7 * @callback_data: data for @callback
9 probe gio.task_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__new")
12 source_object = $arg2;
15 callback_data = $arg5;
16 probestr = sprintf("gio.task_new(%p, %p, %p, %p) -> %p", source_object, cancellable, callback, callback_data, task);
20 * probe gio.task_set_task_data - Called when the task data is set on a #GTask
21 * @task: the #GTask object
22 * @task_data: the task data
23 * @task_data_destroy: the destroy notify function for the data
25 probe gio.task_set_task_data = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__set_task_data")
29 task_data_destroy = $arg3;
30 probestr = sprintf("gio.task_set_task_data(%p, %p, %p)", task, task_data, task_data_destroy);
34 * probe gio.task_set_priority - Called when the priority of a #GTask is set
35 * @task: the #GTask object
36 * @priority: the priority
38 probe gio.task_set_priority = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__set_priority")
42 probestr = sprintf("gio.task_set_priority(%p, %i)", task, priority);
46 * probe gio.task_set_source_tag - Called when the source tag of a #GTask is set
47 * @task: the #GTask object
48 * @source_tag: the source tag
50 probe gio.task_set_source_tag = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__set_source_tag")
54 probestr = sprintf("gio.task_set_source_tag(%p, %p)", task, source_tag);
58 * probe gio.task_before_return - Called before a #GTask invokes its callback or returns from g_task_run_in_thread_sync()
59 * @task: the #GTask object
60 * @source_object: the source object passed to the callback
61 * @callback: the callback about to be invoked
62 * @callback_data: data passed to @callback
64 probe gio.task_before_return = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__before_return")
67 source_object = $arg2;
69 callback_data = $arg4;
70 probestr = sprintf("gio.task_before_return(%p, %p, %p, %p)", task, source_object, callback, callback_data);
74 * probe gio.task_propagate - Called when a #GTask’s result is propagated
75 * @task: the #GTask object
76 * @error_set: %TRUE if propagating an error, %FALSE otherwise
78 probe gio.task_propagate = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__propagate")
82 probestr = sprintf("gio.task_propagate(%p) -> %u", task, error_set);
86 * probe gio.task_before_run_in_thread - Called before a #GTask’s function is run in a thread
87 * @task: the #GTask object
88 * @task_func: the task function being run
90 probe gio.task_before_run_in_thread = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__before_run_in_thread")
94 probestr = sprintf("gio.task_before_run_in_thread(%p, %p)", task, task_func);
98 * probe gio.task_after_run_in_thread - Called after a #GTask’s function is run in a thread
99 * @task: the #GTask object
100 * @thread_cancelled: %TRUE if the thread was cancelled, %FALSE otherwise
102 probe gio.task_after_run_in_thread = process("@ABS_GLIB_RUNTIME_LIBDIR@/libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("task__after_run_in_thread")
105 thread_cancelled = $arg2;
106 probestr = sprintf("gio.task_after_run_in_thread(%p) -> %u", task, thread_cancelled);