mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
8e41be13ef
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
14 lines
661 B
D
14 lines
661 B
D
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)
|
|
};
|