After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770646 - glib: Namespace global tapset variables by soname
glib: Namespace global tapset variables by soname
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2016-08-31 13:22 UTC by Philip Withnall
Modified: 2016-11-23 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glib: Namespace global tapset variables by soname (6.33 KB, patch)
2016-08-31 13:22 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2016-08-31 13:22:41 UTC
Trivial patch attached.
Comment 1 Philip Withnall 2016-08-31 13:22:49 UTC
Created attachment 334533 [details] [review]
glib: Namespace global tapset variables by soname

global variables in SystemTap are shared between all SystemTap scripts;
so if scripts are loaded for two versions of GLib (for example, a stable
and a development version), those global variables will conflict.

Avoid that by including the soname’s version in the global variable
names.
Comment 2 Colin Walters 2016-11-22 20:09:48 UTC
Review of attachment 334533 [details] [review]:

Man, ugly.  But OK.
Comment 3 Philip Withnall 2016-11-23 10:51:10 UTC
Thanks.

Attachment 334533 [details] pushed as 3e7b5cb - glib: Namespace global tapset variables by soname