gio: Add SystemTap and DTrace probes for GTask

This adds a basic tapset for GIO, covering various interesting parts of
GTask.

https://bugzilla.gnome.org/show_bug.cgi?id=759813
This commit is contained in:
Philip Withnall
2015-12-23 16:35:24 +00:00
committed by Philip Withnall
parent cfb692825a
commit 195a0cb6bb
7 changed files with 227 additions and 4 deletions

10
gio/gio_probes.d Normal file
View File

@@ -0,0 +1,10 @@
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*, unsigned int);
probe task__before_run_in_thread(void*, void*);
probe task__after_run_in_thread(void*, unsigned int);
};