glib: Namespace global tapset variables by soname

Desktop / GNOME / GLib - Philip Withnall [collabora.co.uk] - 23 November 2016 04:50 UTC

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.

https://bugzilla.gnome.org/show_bug.cgi?id=770646

3e7b5cb glib: Namespace global tapset variables by soname
glib/glib.stp.in | 4 ++--
gobject/gobject.stp.in | 36 ++++++++++++++++++------------------
2 files changed, 20 insertions(+), 20 deletions(-)

Upstream: git.gnome.org


  • Share