diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-01-01 21:39:52 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-05-27 14:51:41 -0400 |
commit | 8e41be13efe06a0bbd89beefc6e7ae7279b56834 (patch) | |
tree | fd02075647ccb27bf26fe0c3896ad68c460db144 /gobject/gobject_probes.d | |
parent | bef9efd0a99a9a3bd6a2d713423edc37d6a38f21 (diff) |
Add dtrace and systemtap support for gobject
This adds static markers and systemtap tapsets for:
* type creation
* object lifetimes (creation, ref, unref, dispose, finalize)
* signal creation and emission
Signal emissions and finalization marker have a corresponding
*_end (or *-end in dtrace) version that is when the corresponding
operation is finished.
https://bugzilla.gnome.org/show_bug.cgi?id=606044
Diffstat (limited to 'gobject/gobject_probes.d')
-rw-r--r-- | gobject/gobject_probes.d | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gobject/gobject_probes.d b/gobject/gobject_probes.d new file mode 100644 index 000000000..044e68a90 --- /dev/null +++ b/gobject/gobject_probes.d @@ -0,0 +1,13 @@ +provider gobject { + probe type__new(char *, unsigned long, unsigned long); + probe object__new(void*, unsigned long); + probe object__ref(void*, unsigned long, unsigned int); + probe object__unref(void*, unsigned long, unsigned int); + probe object__dispose(void*, unsigned long, unsigned int); + probe object__dispose__end(void*, unsigned long, unsigned int); + probe object__finalize(void*, unsigned long); + probe object__finalize__end(void*, unsigned long); + probe signal__new(unsigned int, char *, unsigned long) + probe signal__emit(unsigned int, unsigned int, void *, unsigned long) + probe signal__emit__end(unsigned int, unsigned int, void *, unsigned long) +}; |