Skip to content

Fixes for the leakstracer plugin and the tracing framework

Nirbheek Chauhan requested to merge nirbheek/gstreamer:tracer-fixes into master

commit 78b84d5d:

leakstracer: Improve documentation for the element
Also print a useful g_warning() message when leaks are detected.

commit 9242817d:

tracerrecord: Be stricter while parsing record templates
It's not really possible for us to recover when someone uses the
gst_tracer_record_new() API incorrectly. Also, document a piece of
somewhat-obscure code.

commit 0375065e:

leakstracer: Remove unused and redundant record fields
All leak records are obviously scoped to the process, and nothing in
the GstTracerRecord code uses these fields anyway.

commit fcdba3fe:

leakstracer: Get rid of GSlice usage
It's not faster than malloc, and is slower in most cases. Glib is also
getting rid of it entirely: https://gitlab.gnome.org/GNOME/glib/merge_requests/940

Merge request reports