[0.11] gstreamer: trace: rework alloc tracing
Wim Taymans
wtay at kemper.freedesktop.org
Fri Jan 27 08:55:09 PST 2012
Module: gstreamer
Branch: 0.11
Commit: 321ee10bd6a3fec0951e93e3e112603693d86c33
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=321ee10bd6a3fec0951e93e3e112603693d86c33
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Fri Jan 27 17:50:42 2012 +0100
trace: rework alloc tracing
Remove trace, we use debug log for that
Make alloc trace simpler, removing some methods.
Activate alloc trace with a GST_TRACE=3 environment variable.
Dump leaked objects atexit.
Provide an offset in the object where the GType can be found so that more
verbose info can be given for objects.
Remove -T option from gst-launch because tracing is now triggered with the
environment variable.
---
gst/gst.c | 18 +--
gst/gstcaps.c | 5 +-
gst/gstclock.c | 6 +-
gst/gstminiobject.c | 6 +-
gst/gstobject.c | 7 +-
gst/gsttrace.c | 399 +++++++--------------------------------------------
gst/gsttrace.h | 146 +++----------------
tools/gst-launch.c | 14 --
8 files changed, 83 insertions(+), 518 deletions(-)
Diff: http://cgit.freedesktop.org/gstreamer/gstreamer/diff/?id=321ee10bd6a3fec0951e93e3e112603693d86c33
More information about the gstreamer-commits
mailing list