Merge branch 'source-get-id-docs' into 'master'
[glib.git] / glib / glib.stp.in
blobdc80e708d3b7be30812be3fae27ce62da059e0e2
1 global glib_quarks_2_0_@LT_CURRENT@_@LT_REVISION@
3 /* This is needed to keep track of gquark for use in other probes.*/
4 probe process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("quark__new")
6   glib_quarks_2_0_@LT_CURRENT@_@LT_REVISION@[pid(), $arg2] = user_string($arg1)
9 /**
10  * probe glib.quark_new - Called when a #GQuark is initially created
11  * @quark: integer value for the quark
12  * @str: string form of the quark
13  */
14 probe glib.quark_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("quark__new")
16   str = user_string ($arg1); 
17   quark = $arg2; 
18   probestr = sprintf("glib.quark_new(%s) -> %d", str, quark);
21 /**
22  * probe glib.mem_alloc - Called when a malloc block is initially requested
23  * @mem: Raw memory pointer returned
24  * @n_bytes: number of bytes
25  * @zeroed: Boolean value, %TRUE if this block was filled with NUL bytes
26  * @failable: Boolean value, %TRUE if program execution can continue on allocation failure
27  */
28 probe glib.mem_alloc = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("mem__alloc")
30   mem = $arg1; 
31   n_bytes = $arg2; 
32   zeroed = $arg3; 
33   failable = $arg4; 
34   probestr = sprintf("glib.mem_alloc(n_bytes=%d) -> %p", n_bytes, mem);
37 /**
38  * probe glib.mem_free - Called when a malloc block freed
39  */
40 probe glib.mem_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("mem__free")
42   mem = $arg1;  /* ARG: @mem: Raw memory pointer */
43   probestr = sprintf("glib.mem_free(mem=%p)", mem);
46 /**
47  * probe glib.mem_realloc - Called when a malloc block is resized
48  * @mem: Raw memory pointer returned
49  * @old_mem: Original memory pointer
50  * @n_bytes: number of bytes
51  * @failable: Boolean value, %TRUE if program execution can continue on allocation failure
52  */
53 probe glib.mem_realloc = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("mem__realloc")
55   mem = $arg1; 
56   old_mem = $arg2; 
57   n_bytes = $arg3;  
58   failable = $arg4; 
59   probestr = sprintf("glib.mem_realloc(old_mem=%p, n_bytes=%d) -> %p", old_mem, n_bytes, mem);
62 /**
63  * probe glib.slice_alloc - Called when g_slice_alloc() is used
64  * @mem: Raw memory pointer returned
65  * @n_bytes: number of bytes
66  */
67 probe glib.slice_alloc = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("slice__alloc")
69   mem = $arg1; 
70   n_bytes = $arg2; 
71   probestr = sprintf("glib.slice_alloc(n_bytes=%d) -> %p", n_bytes, mem);
74 /**
75  * probe glib.slice_free - Called when memory slice is freed
76  * @mem: Raw memory pointer returned
77  * @n_bytes: Number of bytes
78  */
79 probe glib.slice_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("slice__free")
81   mem = $arg1; 
82   n_bytes = $arg2; 
83   probestr = sprintf("glib.slice_free(n_bytes=%d) -> %p", n_bytes, mem);
86 /**
87  * probe glib.main_after_prepare - Called after preparing a GSource
88  * @source: source pointer
89  * @prepare: prepare function pointer
90  * @source_timeout: callback function pointer
91  */
92 probe glib.main_after_prepare = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__after_prepare")
94   source = $arg1;
95   prepare = $arg2;
96   source_timeout = $arg3;
97   probestr = sprintf("glib.main_after_prepare(source=%p, prepare=%p) -> %u", source, prepare, source_timeout);
101  * probe glib.main_after_check - Called after checking a GSource
102  * @source: source pointer
103  * @check: check function pointer
104  * @result: result of the check call
105  */
106 probe glib.main_after_check = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__after_check")
108   source = $arg1;
109   check = $arg2;
110   result = $arg3;
111   probestr = sprintf("glib.main_after_check(source=%p, check=%p) -> %u", source, check, result);
115  * probe glib.main_before_dispatch - Called before dispatching a GSource
116  * @source: name of the source
117  * @source_ptr: source pointer
118  * @dispatch: dispatch function pointer
119  * @callback: callback function pointer
120  * @user_data: user data for @callback
121  */
122 probe glib.main_before_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__before_dispatch")
124   source = user_string2($arg1, "unnamed");
125   source_ptr = $arg2;
126   dispatch = $arg3;
127   callback = $arg4;
128   user_data = $arg5;
129   probestr = sprintf("glib.main_before_dispatch(source=%s(%p), dispatch=%p, callback=%p, user_data=%p)", source, source_ptr, dispatch, callback, user_data);
133  * probe glib.main_after_dispatch - Called after dispatching a GSource
134  * @source: name of the source
135  * @source_ptr: source pointer
136  * @dispatch: dispatch function pointer
137  * @need_destroy: whether the source should be destroyed
138  */
139 probe glib.main_after_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__after_dispatch")
141   source = user_string2($arg1, "unnamed");
142   source_ptr = $arg2;
143   dispatch = $arg3;
144   need_destroy = $arg4;
145   probestr = sprintf("glib.main_after_dispatch(source=%s(%p), dispatch=%p) -> %u", source, source_ptr, dispatch, need_destroy);
149  * probe glib.main_source_attach - Called when a #GSource is attached to a #GMainContext
150  * @source: name of the source
151  * @source_ptr: the #GSource
152  * @context: the #GMainContext the source is being attached to
153  * @id: the ID of the #GSource in the context
154  */
155 probe glib.main_source_attach = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__source_attach")
157   source = user_string2($arg1, "unnamed");
158   source_ptr = $arg2;
159   context = $arg3;
160   id = $arg4;
161   probestr = sprintf("glib.main_source_attach(source=%s(%p), context=%p) -> %u", source, source_ptr, context, id);
165  * probe glib.main_source_destroy - Called when a #GSource is destroyed from a #GMainContext
166  * @source: name of the source
167  * @source_ptr: the #GSource
168  * @context: the #GMainContext the source is being destroyed from
169  */
170 probe glib.main_source_destroy = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__source_destroy")
172   source = user_string2($arg1, "unnamed");
173   source_ptr = $arg2;
174   context = $arg3;
175   probestr = sprintf("glib.main_source_destroy(source=%s(%p), context=%p)", source, source_ptr, context);
179  * probe glib.main_context_default - Called when the default #GMainContext is created
180  * @context: pointer to the new default #GMainContext
181  */
182 probe glib.main_context_default = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_default")
184   context = $arg1;
185   probestr = sprintf("glib.main_context_default() -> %p", context);
189  * probe glib.main_context_new - Called when a #GMainContext is initially created
190  * @context: pointer to the new #GMainContext
191  */
192 probe glib.main_context_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_new")
194   context = $arg1;
195   probestr = sprintf("glib.main_context_new() -> %p", context);
199  * probe glib.main_context_acquire - Called when a thread tries to acquire a #GMainContext
200  * @context: the #GMainContext
201  * @success: TRUE if acquisition was successful; FALSE if there was contention
202  */
203 probe glib.main_context_acquire = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_acquire")
205   context = $arg1;
206   success = $arg2;
207   probestr = sprintf("glib.main_context_acquire(context=%p) -> %u", context, success);
211  * probe glib.main_context_release - Called when a thread releases a #GMainContext
212  * @context: the #GMainContext
213  */
214 probe glib.main_context_release = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_release")
216   context = $arg1;
217   probestr = sprintf("glib.main_context_release(context=%p)", context);
221  * probe glib.main_context_free - Called when a #GMainContext is freed
222  * @context: pointer to the #GMainContext to be freed
223  */
224 probe glib.main_context_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_free")
226   context = $arg1;
227   probestr = sprintf("glib.main_context_free(context=%p)", context);
231  * probe glib.main_context_push_thread_default - Called when a #GMainContext is pushed onto the thread default stack
232  * @context: a #GMainContext
233  */
234 probe glib.main_context_push_thread_default = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_push_thread_default")
236   context = $arg1;
237   probestr = sprintf("glib.main_context_push_thread_default(context=%p)", context);
241  * probe glib.main_context_pop_thread_default - Called when a #GMainContext is popped off the thread default stack
242  * @context: a #GMainContext
243  */
244 probe glib.main_context_pop_thread_default = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_pop_thread_default")
246   context = $arg1;
247   probestr = sprintf("glib.main_context_pop_thread_default(context=%p)", context);
251  * probe glib.main_context_before_prepare - Called before a #GMainContext calls prepare on all its #GSources
252  * @context: a #GMainContext
253  */
254 probe glib.main_context_before_prepare = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_before_prepare")
256   context = $arg1;
257   probestr = sprintf("glib.main_context_before_prepare(context=%p)", context);
261  * probe glib.main_context_after_prepare - Called after a #GMainContext calls prepare on all its #GSources
262  * @context: a #GMainContext
263  * @priority: priority of the highest priority ready #GSource
264  * @n_ready: number of #GSources ready
265  */
266 probe glib.main_context_after_prepare = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_after_prepare")
268   context = $arg1;
269   priority = $arg2;
270   n_ready = $arg3;
271   probestr = sprintf("glib.main_context_after_prepare(context=%p) -> priority=%i,n_ready=%u", context, priority, n_ready);
275  * probe glib.main_context_before_query - Called before a #GMainContext calls query on all its #GSources
276  * @context: a #GMainContext
277  * @max_priority: maximum priority #GSource to check
278  */
279 probe glib.main_context_before_query = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_before_query")
281   context = $arg1;
282   max_priority = $arg2;
283   probestr = sprintf("glib.main_context_before_query(context=%p, max_priority=%i)", context, max_priority);
287  * probe glib.main_context_after_query - Called after a #GMainContext calls query on all its #GSources
288  * @context: a #GMainContext
289  * @timeout: poll timeout to use
290  * @fds: array of FDs ready to be polled, of length @n_fds
291  * @n_fds: number of FDs ready to be polled
292  */
293 probe glib.main_context_after_query = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_after_query")
295   context = $arg1;
296   timeout = $arg2;
297   fds = $arg3;
298   n_fds = $arg4;
299   probestr = sprintf("glib.main_context_after_query(context=%p) -> timeout=%u,fds=%p,n_fds=%u", context, timeout, fds, n_fds);
303  * probe glib.main_context_before_check - Called before a #GMainContext calls check on all its #GSources
304  * @context: a #GMainContext
305  * @max_priority: maximum priority #GSource to check
306  * @fds: array of FDs to check, of length @n_fds
307  * @n_fds: number of FDs to check
308  */
309 probe glib.main_context_before_check = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_before_check")
311   context = $arg1;
312   max_priority = $arg2;
313   fds = $arg3;
314   n_fds = $arg4;
315   probestr = sprintf("glib.main_context_before_check(context=%p, max_priority=%i, fds=%p, n_fds=%u)", context, max_priority, fds, n_fds);
319  * probe glib.main_context_after_check - Called after a #GMainContext calls check on all its #GSources
320  * @context: a #GMainContext
321  * @n_ready: number of sources ready to be dispatched
322  */
323 probe glib.main_context_after_check = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_after_check")
325   context = $arg1;
326   n_ready = $arg2;
327   probestr = sprintf("glib.main_context_after_check(context=%p) -> %u", context, n_ready);
331  * probe glib.main_context_before_dispatch - Called before a #GMainContext calls dispatch on all its #GSources
332  * @context: a #GMainContext
333  */
334 probe glib.main_context_before_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_before_dispatch")
336   context = $arg1;
337   probestr = sprintf("glib.main_context_before_dispatch(context=%p)", context);
341  * probe glib.main_context_after_dispatch - Called after a #GMainContext calls dispatch on all its #GSources
342  * @context: a #GMainContext
343  */
344 probe glib.main_context_after_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_after_dispatch")
346   context = $arg1;
347   probestr = sprintf("glib.main_context_after_dispatch(context=%p)", context);
351  * probe glib.main_context_wakeup - Called when a wakeup call is made for a #GMainContext
352  * @context: a #GMainContext
353  */
354 probe glib.main_context_wakeup = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_wakeup")
356   context = $arg1;
357   probestr = sprintf("glib.main_context_wakeup(context=%p)", context);
361  * probe glib.main_context_wakeup_acknowledge - Called when a wakeup call is acknowledged by a #GMainContext
362  * @context: a #GMainContext
363  */
364 probe glib.main_context_wakeup_acknowledge = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_wakeup_acknowledge")
366   context = $arg1;
367   probestr = sprintf("glib.main_context_wakeup_acknowledge(context=%p)", context);
371  * probe glib.main_loop_new - Called when a #GMainLoop is initially created
372  * @loop: pointer to the new #GMainLoop
373  * @context: pointer to the parent #GMainContext
374  */
375 probe glib.main_loop_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__loop_new")
377   loop = $arg1;
378   context = $arg2;
379   probestr = sprintf("glib.main_loop_new(%p) -> %p", context, loop);
383  * probe glib.main_context_quit - Called when a #GMainLoop is quit
384  * @loop: pointer to the #GMainLoop to be quit
385  */
386 probe glib.main_loop_quit = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__loop_quit")
388   loop = $arg1;
389   probestr = sprintf("glib.main_loop_quit(%p)", loop);
393  * probe glib.idle_add - Called when g_idle_add() or g_idle_add_full() is called
394  * @source: the newly created idle #GSource
395  * @context: the #GMainContext the idle source was added to
396  * @id: the ID of the #GSource in the main context
397  * @priority: the priority of the idle source
398  * @func: the idle callback function
399  * @data: data to pass to the callback function
400  */
401 probe glib.idle_add = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("idle__add")
403   source = $arg1;
404   context = $arg2;
405   id = $arg3;
406   priority = $arg4;
407   func = $arg5;
408   data = $arg6;
409   probestr = sprintf("glib.idle_add(%d, %p, %p) -> %p, %p, %u", priority, func, data, source, context, id);
413  * probe glib.idle_dispatch - Called when an idle #GSource is dispatched
414  * @source: the idle #GSource
415  * @context: the #GMainContext the idle source was in
416  * @func: the idle callback function
417  * @data: data passed to the callback function
418  * @again: 1 if the idle function is to be scheduled again, 0 otherwise
419  */
420 probe glib.idle_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("idle__dispatch")
422   source = $arg1;
423   context = $arg2;
424   func = $arg3;
425   data = $arg4;
426   again = $arg5;
427   probestr = sprintf("glib.idle_dispatch(%p) -> %p, %p, %p, %u", source, context, func, data, again);
431  * probe glib.timeout_add - Called when g_timeout_add() or g_timeout_add_full() is called
432  * @source: the newly created timeout #GSource
433  * @context: the #GMainContext the timeout source was added to
434  * @id: the ID of the #GSource in the main context
435  * @priority: the priority of the timeout source
436  * @interval: the time between dispatches of the source, in milliseconds
437  * @func: the timeout callback function
438  * @data: data to pass to the callback function
439  */
440 probe glib.timeout_add = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("timeout__add")
442   source = $arg1;
443   context = $arg2;
444   id = $arg3;
445   priority = $arg4;
446   interval = $arg5;
447   func = $arg6;
448   data = $arg7;
449   probestr = sprintf("glib.timeout_add(%d, %u, %p, %p) -> %p, %p, %u", priority, interval, func, data, source, context, id);
453  * probe glib.timeout_dispatch - Called when an timeout #GSource is dispatched
454  * @source: the timeout #GSource
455  * @context: the #GMainContext the timeout source was in
456  * @func: the timeout callback function
457  * @data: data passed to the callback function
458  * @again: 1 if the timeout is to be scheduled again, 0 otherwise
459  */
460 probe glib.timeout_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("timeout__dispatch")
462   source = $arg1;
463   context = $arg2;
464   func = $arg3;
465   data = $arg4;
466   again = $arg5;
467   probestr = sprintf("glib.timeout_dispatch(%p) -> %p, %p, %p, %u", source, context, func, data, again);
471  * probe glib.source_new - Called when a new #GSource is created
472  * @source: the new #GSource
473  * @prepare: the prepare function for the #GSource
474  * @check: the check function for the #GSource
475  * @dispatch: the dispatch function for the #GSource
476  * @finalize: the finalize function for the #GSource
477  * @struct_size: the size of #GSource structure to allocate
478  */
479 probe glib.source_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__new")
481   source = $arg1;
482   prepare = $arg2;
483   check = $arg3;
484   dispatch = $arg4;
485   finalize = $arg5;
486   struct_size = $arg6;
487   probestr = sprintf("glib.source_new(%p, %p, %p, %p, %u) -> %p", prepare, check, dispatch, finalize, struct_size, source);
491  * probe glib.source_set_callback - Called when the callback on a #GSource is set
492  * @source: the #GSource
493  * @func: the new callback function for the source
494  * @data: data to pass to @func
495  * @notify: notify handler for @data
496  */
497 probe glib.source_set_callback = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_callback")
499   source = $arg1;
500   func = $arg2;
501   data = $arg3;
502   notify = $arg4;
503   probestr = sprintf("glib.source_set_callback(%p, %p, %p, %p)", source, func, data, notify);
507  * probe glib.source_set_callback_indirect - Called when an indirect callback on a #GSource is set
508  * @source: the #GSource
509  * @callback_data: data for @callback_funcs
510  * @ref: the indirect callback ref function
511  * @unref: the indirect callback unref function
512  * @get: the indirect callback getter function
513  */
514 probe glib.source_set_callback_indirect = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_callback_indirect")
516   source = $arg1;
517   callback_data = $arg2;
518   ref = $arg3;
519   unref = $arg4;
520   get = $arg5;
521   probestr = sprintf("glib.source_set_callback_indirect(%p, %p, %p, %p, %p)", source, callback_data, ref, unref, get);
525  * probe glib.source_set_ready_time - Called when the ready time is set on a #GSource
526  * @source: the #GSource
527  * @ready_time: the new ready time
528  */
529 probe glib.source_set_ready_time = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_ready_time")
531   source = $arg1;
532   ready_time = $arg2;
533   probestr = sprintf("glib.source_set_ready_time(%p, %i)", source, ready_time);
537  * probe glib.source_set_priority - Called when the priority is set on a #GSource
538  * @source: the #GSource
539  * @context: the context the source is attached to
540  * @priority: the new priority
541  */
542 probe glib.source_set_priority = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_priority")
544   source = $arg1;
545   context = $arg2;
546   priority = $arg3;
547   probestr = sprintf("glib.source_set_priority(%p, %p, %i)", source, context, priority);
551  * probe glib.source_add_child_source - Called when a child #GSource is added to another
552  * @source: the parent #GSource
553  * @child_source: the child #GSource
554  */
555 probe glib.source_add_child_source = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__add_child_source")
557   source = $arg1;
558   child_source = $arg2;
559   probestr = sprintf("glib.source_add_child_source(%p, %p)", source, child_source);
563  * probe glib.source_set_name - Called when the name is set for a #GSource
564  * @source: the #GSource
565  * @name: the new name
566  */
567 probe glib.source_set_name = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_name")
569   source = $arg1;
570   name = user_string($arg2);
571   probestr = sprintf("glib.source_set_name(%p, %s)", source, name);
575  * probe glib.source_before_free - Called before a #GSource is finalised
576  * @source: the #GSource
577  * @context: the context the #GSource is attached to, if any
578  * @finalize: the finalize function about to be called
579  */
580 probe glib.source_before_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__before_free")
582   source = $arg1;
583   context = $arg2;
584   finalize = $arg3;
585   probestr = sprintf("glib.source_before_free(%p, %p, %p)", source, context, finalize);
589  * probe glib.thread_spawned - Called from a newly spawned GThread, before the thread function is called
590  * @func: the #GThreadFunc about to be executed
591  * @data: data to be passed to @func
592  * @name: (nullable): the thread name
593  */
594 probe glib.thread_spawned = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("thread__spawned")
596   func = $arg1;
597   data = $arg2;
598   name = user_string($arg3);
599   probestr = sprintf("glib.thread_spawned(%p, %p, %s)", func, data, name);