[Bug 756760] Tracer framework reuses existing GST_TRACE environment variable
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Oct 19 12:52:28 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=756760
Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.7.1
--- Comment #6 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
commit 70d2a676af2bc51ed7b828dfd762b506bb82083b
Author: Stefan Sauer <ensonic at users.sf.net>
Date: Mon Oct 19 21:39:19 2015 +0200
tracer: rename the envvar to GST_TRACER_PLUGINS
The subsystem reused the GST_TRACE var that is already in use by the alloc
tracer.
Fixes #756760
It would be nice to have some notes for how to use the alloc_trace stuff. If I
get it, it counts the number of instances per type and can also build a list of
the content. Finally the atexit handler dumps the leaked data. All this could
be done with the tracing subsystem too, except that I did not use an atexit
handler so far. I can take a stab at converting this into a tracer plugin, if
that sounds like a good idea.
The main change would be that code like this:
#ifndef GST_DISABLE_TRACE
_gst_alloc_trace_new (_gst_mini_object_trace, mini_object);
#endif
would be changed into a trace-point (that can also be used by other tracer
plugins).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list