Files
glib/gio/gio_probes.d
Tobias Stoeckmann b8f9743a4d systemtap: Use correct formatters/types
Try to avoid casting variables to potentially smaller types to fit
defined probes. This can truncate values and lead to wrong results.

Also make sure that signedness matches.

Since GType can be even 128 bit on CHERI architecture, cast all these
various types used based on platform to uintmax_t which SystemTap
properly processes.
2025-08-08 23:15:38 +02:00

11 lines
389 B
D

provider gio {
probe task__new(void*, void*, void*, void*, void*);
probe task__set_task_data(void*, void*, void*);
probe task__set_priority(void*, int);
probe task__set_source_tag(void*, void*);
probe task__before_return(void*, void*, void*, void*);
probe task__propagate(void*, int);
probe task__before_run_in_thread(void*, void*);
probe task__after_run_in_thread(void*, int);
};