From 805674eed126f85cf4be2436da215b1d5abcb4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 28 Jun 2012 04:18:20 +0900 Subject: docs/gst/running.xml: Add info about the GST_TRACE environment variable https://bugzilla.gnome.org/show_bug.cgi?id=679008 --- docs/gst/running.xml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/gst/running.xml b/docs/gst/running.xml index 4db812a826..b08b0a7902 100644 --- a/docs/gst/running.xml +++ b/docs/gst/running.xml @@ -270,6 +270,44 @@ plugins frequently, it will save time when doing gst_init(). + + <envar>GST_TRACE</envar> + + + Enable memory allocation tracing. Most GStreamer objects have support for + tracing the number of unfreed objects and their memory pointers. + + +The variable takes a comma-separated list of tracing options to enable. + + + + live + + + Counts all live objects and dumps an overview of the number of unfreed + objects at program exit. + + + + + + mem-live + + + Keep track of the unfreed memory pointers and dump an overview of all unfreed + memory at program exit. Together with a level 9 debug log this can be used to + follow the lifecycle of leaked objects in order to track down where they are + leaked. + + + + + + Use to enable all tracing flags. + + + <envar>ORC_CODE</envar> -- cgit v1.2.1