1 global glib_quarks_2_0_@LT_CURRENT@_@LT_REVISION@
2 global gvarianttypeinfo_2_0_@LT_CURRENT@_@LT_REVISION@
4 /* This is needed to keep track of gquark for use in other probes.*/
5 probe process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("quark__new")
7 glib_quarks_2_0_@LT_CURRENT@_@LT_REVISION@[pid(), $arg2] = user_string($arg1)
11 * probe glib.quark_new - Called when a #GQuark is initially created
12 * @quark: integer value for the quark
13 * @str: string form of the quark
15 probe glib.quark_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("quark__new")
17 str = user_string ($arg1);
19 probestr = sprintf("glib.quark_new(%s) -> %d", str, quark);
23 * probe glib.mem_alloc - Called when a malloc block is initially requested
24 * @mem: Raw memory pointer returned
25 * @n_bytes: number of bytes
26 * @zeroed: Boolean value, %TRUE if this block was filled with NUL bytes
27 * @failable: Boolean value, %TRUE if program execution can continue on allocation failure
29 probe glib.mem_alloc = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("mem__alloc")
35 probestr = sprintf("glib.mem_alloc(n_bytes=%d) -> %p", n_bytes, mem);
39 * probe glib.mem_free - Called when a malloc block freed
41 probe glib.mem_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("mem__free")
43 mem = $arg1; /* ARG: @mem: Raw memory pointer */
44 probestr = sprintf("glib.mem_free(mem=%p)", mem);
48 * probe glib.mem_realloc - Called when a malloc block is resized
49 * @mem: Raw memory pointer returned
50 * @old_mem: Original memory pointer
51 * @n_bytes: number of bytes
52 * @failable: Boolean value, %TRUE if program execution can continue on allocation failure
54 probe glib.mem_realloc = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("mem__realloc")
60 probestr = sprintf("glib.mem_realloc(old_mem=%p, n_bytes=%d) -> %p", old_mem, n_bytes, mem);
64 * probe glib.slice_alloc - Called when g_slice_alloc() is used
65 * @mem: Raw memory pointer returned
66 * @n_bytes: number of bytes
68 probe glib.slice_alloc = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("slice__alloc")
72 probestr = sprintf("glib.slice_alloc(n_bytes=%d) -> %p", n_bytes, mem);
76 * probe glib.slice_free - Called when memory slice is freed
77 * @mem: Raw memory pointer returned
78 * @n_bytes: Number of bytes
80 probe glib.slice_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("slice__free")
84 probestr = sprintf("glib.slice_free(n_bytes=%d) -> %p", n_bytes, mem);
88 * probe glib.main_after_prepare - Called after preparing a GSource
89 * @source: source pointer
90 * @prepare: prepare function pointer
91 * @source_timeout: callback function pointer
93 probe glib.main_after_prepare = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__after_prepare")
97 source_timeout = $arg3;
98 probestr = sprintf("glib.main_after_prepare(source=%p, prepare=%p) -> %u", source, prepare, source_timeout);
102 * probe glib.main_after_check - Called after checking a GSource
103 * @source: source pointer
104 * @check: check function pointer
105 * @result: result of the check call
107 probe glib.main_after_check = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__after_check")
112 probestr = sprintf("glib.main_after_check(source=%p, check=%p) -> %u", source, check, result);
116 * probe glib.main_before_dispatch - Called before dispatching a GSource
117 * @source: name of the source
118 * @source_ptr: source pointer
119 * @dispatch: dispatch function pointer
120 * @callback: callback function pointer
121 * @user_data: user data for @callback
123 probe glib.main_before_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__before_dispatch")
125 source = user_string2($arg1, "unnamed");
130 probestr = sprintf("glib.main_before_dispatch(source=%s(%p), dispatch=%p, callback=%p, user_data=%p)", source, source_ptr, dispatch, callback, user_data);
134 * probe glib.main_after_dispatch - Called after dispatching a GSource
135 * @source: name of the source
136 * @source_ptr: source pointer
137 * @dispatch: dispatch function pointer
138 * @need_destroy: whether the source should be destroyed
140 probe glib.main_after_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__after_dispatch")
142 source = user_string2($arg1, "unnamed");
145 need_destroy = $arg4;
146 probestr = sprintf("glib.main_after_dispatch(source=%s(%p), dispatch=%p) -> %u", source, source_ptr, dispatch, need_destroy);
150 * probe glib.main_source_attach - Called when a #GSource is attached to a #GMainContext
151 * @source: name of the source
152 * @source_ptr: the #GSource
153 * @context: the #GMainContext the source is being attached to
154 * @id: the ID of the #GSource in the context
156 probe glib.main_source_attach = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__source_attach")
158 source = user_string2($arg1, "unnamed");
162 probestr = sprintf("glib.main_source_attach(source=%s(%p), context=%p) -> %u", source, source_ptr, context, id);
166 * probe glib.main_source_destroy - Called when a #GSource is destroyed from a #GMainContext
167 * @source: name of the source
168 * @source_ptr: the #GSource
169 * @context: the #GMainContext the source is being destroyed from
171 probe glib.main_source_destroy = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__source_destroy")
173 source = user_string2($arg1, "unnamed");
176 probestr = sprintf("glib.main_source_destroy(source=%s(%p), context=%p)", source, source_ptr, context);
180 * probe glib.main_context_default - Called when the default #GMainContext is created
181 * @context: pointer to the new default #GMainContext
183 probe glib.main_context_default = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_default")
186 probestr = sprintf("glib.main_context_default() -> %p", context);
190 * probe glib.main_context_new - Called when a #GMainContext is initially created
191 * @context: pointer to the new #GMainContext
193 probe glib.main_context_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_new")
196 probestr = sprintf("glib.main_context_new() -> %p", context);
200 * probe glib.main_context_acquire - Called when a thread tries to acquire a #GMainContext
201 * @context: the #GMainContext
202 * @success: TRUE if acquisition was successful; FALSE if there was contention
204 probe glib.main_context_acquire = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_acquire")
208 probestr = sprintf("glib.main_context_acquire(context=%p) -> %u", context, success);
212 * probe glib.main_context_release - Called when a thread releases a #GMainContext
213 * @context: the #GMainContext
215 probe glib.main_context_release = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_release")
218 probestr = sprintf("glib.main_context_release(context=%p)", context);
222 * probe glib.main_context_free - Called when a #GMainContext is freed
223 * @context: pointer to the #GMainContext to be freed
225 probe glib.main_context_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_free")
228 probestr = sprintf("glib.main_context_free(context=%p)", context);
232 * probe glib.main_context_push_thread_default - Called when a #GMainContext is pushed onto the thread default stack
233 * @context: a #GMainContext
235 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")
238 probestr = sprintf("glib.main_context_push_thread_default(context=%p)", context);
242 * probe glib.main_context_pop_thread_default - Called when a #GMainContext is popped off the thread default stack
243 * @context: a #GMainContext
245 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")
248 probestr = sprintf("glib.main_context_pop_thread_default(context=%p)", context);
252 * probe glib.main_context_before_prepare - Called before a #GMainContext calls prepare on all its #GSources
253 * @context: a #GMainContext
255 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")
258 probestr = sprintf("glib.main_context_before_prepare(context=%p)", context);
262 * probe glib.main_context_after_prepare - Called after a #GMainContext calls prepare on all its #GSources
263 * @context: a #GMainContext
264 * @priority: priority of the highest priority ready #GSource
265 * @n_ready: number of #GSources ready
267 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")
272 probestr = sprintf("glib.main_context_after_prepare(context=%p) -> priority=%i,n_ready=%u", context, priority, n_ready);
276 * probe glib.main_context_before_query - Called before a #GMainContext calls query on all its #GSources
277 * @context: a #GMainContext
278 * @max_priority: maximum priority #GSource to check
280 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")
283 max_priority = $arg2;
284 probestr = sprintf("glib.main_context_before_query(context=%p, max_priority=%i)", context, max_priority);
288 * probe glib.main_context_after_query - Called after a #GMainContext calls query on all its #GSources
289 * @context: a #GMainContext
290 * @timeout: poll timeout to use
291 * @fds: array of FDs ready to be polled, of length @n_fds
292 * @n_fds: number of FDs ready to be polled
294 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")
300 probestr = sprintf("glib.main_context_after_query(context=%p) -> timeout=%u,fds=%p,n_fds=%u", context, timeout, fds, n_fds);
304 * probe glib.main_context_before_check - Called before a #GMainContext calls check on all its #GSources
305 * @context: a #GMainContext
306 * @max_priority: maximum priority #GSource to check
307 * @fds: array of FDs to check, of length @n_fds
308 * @n_fds: number of FDs to check
310 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")
313 max_priority = $arg2;
316 probestr = sprintf("glib.main_context_before_check(context=%p, max_priority=%i, fds=%p, n_fds=%u)", context, max_priority, fds, n_fds);
320 * probe glib.main_context_after_check - Called after a #GMainContext calls check on all its #GSources
321 * @context: a #GMainContext
322 * @n_ready: number of sources ready to be dispatched
324 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")
328 probestr = sprintf("glib.main_context_after_check(context=%p) -> %u", context, n_ready);
332 * probe glib.main_context_before_dispatch - Called before a #GMainContext calls dispatch on all its #GSources
333 * @context: a #GMainContext
335 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")
338 probestr = sprintf("glib.main_context_before_dispatch(context=%p)", context);
342 * probe glib.main_context_after_dispatch - Called after a #GMainContext calls dispatch on all its #GSources
343 * @context: a #GMainContext
345 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")
348 probestr = sprintf("glib.main_context_after_dispatch(context=%p)", context);
352 * probe glib.main_context_wakeup - Called when a wakeup call is made for a #GMainContext
353 * @context: a #GMainContext
355 probe glib.main_context_wakeup = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__context_wakeup")
358 probestr = sprintf("glib.main_context_wakeup(context=%p)", context);
362 * probe glib.main_context_wakeup_acknowledge - Called when a wakeup call is acknowledged by a #GMainContext
363 * @context: a #GMainContext
365 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")
368 probestr = sprintf("glib.main_context_wakeup_acknowledge(context=%p)", context);
372 * probe glib.main_loop_new - Called when a #GMainLoop is initially created
373 * @loop: pointer to the new #GMainLoop
374 * @context: pointer to the parent #GMainContext
376 probe glib.main_loop_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__loop_new")
380 probestr = sprintf("glib.main_loop_new(%p) -> %p", context, loop);
384 * probe glib.main_context_quit - Called when a #GMainLoop is quit
385 * @loop: pointer to the #GMainLoop to be quit
387 probe glib.main_loop_quit = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__loop_quit")
390 probestr = sprintf("glib.main_loop_quit(%p)", loop);
394 * probe glib.idle_add - Called when g_idle_add() or g_idle_add_full() is called
395 * @source: the newly created idle #GSource
396 * @context: the #GMainContext the idle source was added to
397 * @id: the ID of the #GSource in the main context
398 * @priority: the priority of the idle source
399 * @func: the idle callback function
400 * @data: data to pass to the callback function
402 probe glib.idle_add = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("idle__add")
410 probestr = sprintf("glib.idle_add(%d, %p, %p) -> %p, %p, %u", priority, func, data, source, context, id);
414 * probe glib.idle_dispatch - Called when an idle #GSource is dispatched
415 * @source: the idle #GSource
416 * @context: the #GMainContext the idle source was in
417 * @func: the idle callback function
418 * @data: data passed to the callback function
419 * @again: 1 if the idle function is to be scheduled again, 0 otherwise
421 probe glib.idle_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("idle__dispatch")
428 probestr = sprintf("glib.idle_dispatch(%p) -> %p, %p, %p, %u", source, context, func, data, again);
432 * probe glib.timeout_add - Called when g_timeout_add() or g_timeout_add_full() is called
433 * @source: the newly created timeout #GSource
434 * @context: the #GMainContext the timeout source was added to
435 * @id: the ID of the #GSource in the main context
436 * @priority: the priority of the timeout source
437 * @interval: the time between dispatches of the source, in milliseconds
438 * @func: the timeout callback function
439 * @data: data to pass to the callback function
441 probe glib.timeout_add = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("timeout__add")
450 probestr = sprintf("glib.timeout_add(%d, %u, %p, %p) -> %p, %p, %u", priority, interval, func, data, source, context, id);
454 * probe glib.timeout_dispatch - Called when a timeout #GSource is dispatched
455 * @source: the timeout #GSource
456 * @context: the #GMainContext the timeout source was in
457 * @func: the timeout callback function
458 * @data: data passed to the callback function
459 * @again: 1 if the timeout is to be scheduled again, 0 otherwise
461 probe glib.timeout_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("timeout__dispatch")
468 probestr = sprintf("glib.timeout_dispatch(%p) -> %p, %p, %p, %u", source, context, func, data, again);
472 * probe glib.source_new - Called when a new #GSource is created
473 * @source: the new #GSource
474 * @prepare: the prepare function for the #GSource
475 * @check: the check function for the #GSource
476 * @dispatch: the dispatch function for the #GSource
477 * @finalize: the finalize function for the #GSource
478 * @struct_size: the size of #GSource structure to allocate
480 probe glib.source_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__new")
488 probestr = sprintf("glib.source_new(%p, %p, %p, %p, %u) -> %p", prepare, check, dispatch, finalize, struct_size, source);
492 * probe glib.source_set_callback - Called when the callback on a #GSource is set
493 * @source: the #GSource
494 * @func: the new callback function for the source
495 * @data: data to pass to @func
496 * @notify: notify handler for @data
498 probe glib.source_set_callback = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_callback")
504 probestr = sprintf("glib.source_set_callback(%p, %p, %p, %p)", source, func, data, notify);
508 * probe glib.source_set_callback_indirect - Called when an indirect callback on a #GSource is set
509 * @source: the #GSource
510 * @callback_data: data for @callback_funcs
511 * @ref: the indirect callback ref function
512 * @unref: the indirect callback unref function
513 * @get: the indirect callback getter function
515 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")
518 callback_data = $arg2;
522 probestr = sprintf("glib.source_set_callback_indirect(%p, %p, %p, %p, %p)", source, callback_data, ref, unref, get);
526 * probe glib.source_set_ready_time - Called when the ready time is set on a #GSource
527 * @source: the #GSource
528 * @ready_time: the new ready time
530 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")
534 probestr = sprintf("glib.source_set_ready_time(%p, %i)", source, ready_time);
538 * probe glib.source_set_priority - Called when the priority is set on a #GSource
539 * @source: the #GSource
540 * @context: the context the source is attached to
541 * @priority: the new priority
543 probe glib.source_set_priority = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_priority")
548 probestr = sprintf("glib.source_set_priority(%p, %p, %i)", source, context, priority);
552 * probe glib.source_add_child_source - Called when a child #GSource is added to another
553 * @source: the parent #GSource
554 * @child_source: the child #GSource
556 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")
559 child_source = $arg2;
560 probestr = sprintf("glib.source_add_child_source(%p, %p)", source, child_source);
564 * probe glib.source_set_name - Called when the name is set for a #GSource
565 * @source: the #GSource
566 * @name: the new name
568 probe glib.source_set_name = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__set_name")
571 name = user_string($arg2);
572 probestr = sprintf("glib.source_set_name(%p, %s)", source, name);
576 * probe glib.source_before_free - Called before a #GSource is finalised
577 * @source: the #GSource
578 * @context: the context the #GSource is attached to, if any
579 * @finalize: the finalize function about to be called
581 probe glib.source_before_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("source__before_free")
586 probestr = sprintf("glib.source_before_free(%p, %p, %p)", source, context, finalize);
590 * probe glib.thread_spawned - Called from a newly spawned GThread, before the thread function is called
591 * @func: the #GThreadFunc about to be executed
592 * @data: data to be passed to @func
593 * @name: (nullable): the thread name
595 probe glib.thread_spawned = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("thread__spawned")
599 name = user_string($arg3);
600 probestr = sprintf("glib.thread_spawned(%p, %p, %s)", func, data, name);
604 * probe glib.rcbox_alloc - Called when a refcounted block is initially requested
605 * @mem: Raw memory pointer returned
606 * @n_bytes: number of bytes
607 * @atomic: Boolean value, %TRUE if this block is atomically refcounted
608 * @zeroed: Boolean value, %TRUE if this block was filled with NUL bytes
610 probe glib.rcbox_alloc = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("rcbox__alloc")
616 probestr = sprintf("glib.rcbox_alloc(n_bytes=%d) -> %p", n_bytes, mem);
620 * probe glib.rcbox_acquire - Called when a refcounted block acquires a ref
622 probe glib.rcbox_acquire = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("rcbox__acquire")
624 mem = $arg1; /* ARG: @mem: Raw memory pointer */
625 atomic = $arg2; /* ARG: @atomic: Boolean value, %TRUE if the reference was acquired atomically */
626 probestr = sprintf("glib.rcbox_acquire(mem=%p)", mem);
630 * probe glib.rcbox_release - Called when a refcounted block acquires a ref
632 probe glib.rcbox_acquire = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("rcbox__release")
634 mem = $arg1; /* ARG: @mem: Raw memory pointer */
635 atomic = $arg2; /* ARG: @atomic: Boolean value, %TRUE if the reference was released atomically */
636 probestr = sprintf("glib.rcbox_release(mem=%p)", mem);
640 * probe glib.rcbox_free - Called when a refcounted block is freed
642 probe glib.rcbox_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("rcbox__free")
644 mem = $arg1; /* ARG: @mem: Raw memory pointer */
645 probestr = sprintf("glib.rcbox_free(mem=%p)", mem);
649 * probe glib.variant_type_info_new:
650 * @info: Raw info structure pointer
651 * @typestr: GVariant type string
653 probe glib.variant_type_info_new = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__type_info_new")
656 typestr = user_string($arg2);
657 gvarianttypeinfo[pid(), info] = typestr;
661 * probe glib.variant_type_info_free:
662 * @info: Raw info structure pointer
664 probe glib.variant_type_info_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__type_info_free")
667 delete gvarianttypeinfo[pid(), info];
671 * probe glib.variant_start_serialise:
672 * @value: pointer to #GVariant
673 * @typeinfo: the raw typeinfo structure pointer
674 * @typestr: the type string of the #GVariant
676 * Indicates that a @value has started the process of serialising
677 * itself. This involves dropping references on the child elements of
678 * @value, so when mixed with the end_serialise probe, it is possible to
679 * see the context in which the unrefs are occuring.
681 probe glib.variant_start_serialise = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__start_serialise")
685 typestr = gvarianttypeinfo[pid(), typeinfo];
689 * probe glib.variant_end_serialise:
690 * @value: pointer to #GVariant
691 * @typeinfo: the raw typeinfo structure pointer
692 * @typestr: the type string of the #GVariant
694 * Indicates that a @value has ended the process of serialising itself.
696 probe glib.variant_end_serialise = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__end_serialise")
700 typestr = gvarianttypeinfo[pid(), typeinfo];
704 * probe glib.variant_from_buffer:
705 * @value: pointer to #GVariant
706 * @typeinfo: the raw typeinfo structure pointer
707 * @typestr: the type string of the #GVariant
708 * @ref_count: the initial reference count
709 * @state: the internal state bitfield
711 * Reports that a serialised #GVariant has been created from a buffer.
712 * This can happen in two cases. The first is when a leaf value is
713 * created (with g_variant_new_string(), for example). The second is
714 * when a container #GVariant is created by loading from serialised data
715 * (with g_variant_new_from_data(), for example).
717 probe glib.variant_from_buffer = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__from_buffer")
721 typestr = gvarianttypeinfo[pid(), typeinfo];
727 * probe glib.variant_from_children:
728 * @value: pointer to #GVariant
729 * @typeinfo: the raw typeinfo structure pointer
730 * @typestr: the type string of the #GVariant
731 * @ref_count: the initial reference count
732 * @state: the internal state bitfield
734 * Reports that a tree-form #GVariant has been created from a number of
735 * child elements. This happens in response to the calls like
736 * g_variant_new_array() and also for g_variant_builder_end().
738 probe glib.variant_from_children = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__from_children")
742 typestr = gvarianttypeinfo[pid(), typeinfo];
748 * probe glib.variant_unref:
749 * @value: pointer to #GVariant
750 * @typeinfo: the raw typeinfo structure pointer
751 * @typestr: the type string of the #GVariant
752 * @ref_count: the reference count before the call
753 * @state: the internal state bitfield
755 * Reports that g_variant_unref() has been called on a value.
757 probe glib.variant_unref = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__unref")
761 typestr = gvarianttypeinfo[pid(), typeinfo];
762 old_ref_count = $arg3;
763 new_ref_count = old_ref_count - 1;
768 * probe glib.variant_ref:
769 * @value: pointer to #GVariant
770 * @typeinfo: the raw typeinfo structure pointer
771 * @typestr: the type string of the #GVariant
772 * @ref_count: the reference count before the call
773 * @state: the internal state bitfield
775 * Reports that g_variant_ref() has been called on a value.
777 probe glib.variant_ref = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__ref")
781 typestr = gvarianttypeinfo[pid(), typeinfo];
782 old_ref_count = $arg3;
783 new_ref_count = $arg3 + 1;
788 * probe glib.variant_ref_sink:
789 * @value: pointer to #GVariant
790 * @typeinfo: the raw typeinfo structure pointer
791 * @typestr: the type string of the #GVariant
792 * @ref_count: the reference count before the call
793 * @state: the internal state bitfield
794 * @floating: the floating bit of @state
796 * Reports that g_variant_ref_sink() has been called on a value.
798 probe glib.variant_ref_sink = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__ref_sink")
802 typestr = gvarianttypeinfo[pid(), typeinfo];
809 * probe glib.variant_take_ref:
810 * @value: pointer to #GVariant
811 * @typeinfo: the raw typeinfo structure pointer
812 * @typestr: the type string of the #GVariant
813 * @ref_count: the reference count before the call
814 * @state: the internal state bitfield
815 * @floating: the floating bit of @state
817 * Reports that g_variant_take_ref() has been called on a value.
819 probe glib.variant_take_ref = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__take_ref")
823 typestr = gvarianttypeinfo[pid(), typeinfo];
830 * probe glib.variant_from_parent:
831 * @value: pointer to #GVariant
832 * @typeinfo: the raw typeinfo structure pointer
833 * @typestr: the type string of the #GVariant
834 * @ref_count: the initial reference count
835 * @state: the internal state bitfield
837 * Reports that a #GVariant has been created as a result of calling
838 * g_variant_get_child_value() on a serialised #GVariant (ie:
839 * deserialisation has occured).
841 probe glib.variant_from_parent = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("variant__from_parent")
845 typestr = gvarianttypeinfo[pid(), typeinfo];