trace: rework alloc tracing
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 27 Jan 2012 16:50:42 +0000 (17:50 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 27 Jan 2012 16:54:43 +0000 (17:54 +0100)
commit321ee10bd6a3fec0951e93e3e112603693d86c33
treeb58fe791a12432dc8a6fa59ddf4a2292a5925248
parent27ac781ba6ba4a9acec4dcb57751a4243a7da2ef
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
gst/gstcaps.c
gst/gstclock.c
gst/gstminiobject.c
gst/gstobject.c
gst/gsttrace.c
gst/gsttrace.h
tools/gst-launch.c