gstreamer/plugins/tracers
Thibault Saunier 33616d47be info: Add a 'flags' parametter to gst_debug_get_stack_trace
This is an API break but that API has not been released yet.

We are passing a flag rather than a simple boolean as we can imagine
to implement more features in the future for example to retrieve a
stack trace for all the threads, etc..

Retrieving source file and line numbers is pretty
expensive while getting a stack trace, this new argument
allows the user to decide to retrieve a backtrace
without those infos instead which is much faster.

For example running $ GST_LEAKS_TRACER_STACK_TRACE=1 GST_DEBUG=GST_TRACER:7 \
GST_TRACERS=leaks time gst-launch-1.0 videotestsrc num-buffers=1 ! fakesink:

* With simple stack traces:

    0.04s user 0.02s system 99% cpu 0.060 total

* With full stack traces:

    0.66s user 0.23s system 96% cpu 0.926 total

https://bugzilla.gnome.org/show_bug.cgi?id=775423
2016-12-12 15:06:20 -03:00
..
.gitignore tracer: initial prototype for the tracing subsystem 2015-10-05 20:59:39 +02:00
gstlatency.c tracer/latency: clear qdata 2016-12-07 21:53:49 +01:00
gstlatency.h tracer: split into tracer and tracerutils 2015-10-05 20:59:39 +02:00
gstleaks.c info: Add a 'flags' parametter to gst_debug_get_stack_trace 2016-12-12 15:06:20 -03:00
gstleaks.h tracers: leaks: update type filter later for unknown types 2016-07-20 14:14:48 +01:00
gstlog.c tracers/log: log more detail 2016-12-08 22:03:19 +01:00
gstlog.h tracer: split into tracer and tracerutils 2015-10-05 20:59:39 +02:00
gstrusage.c tracer/rusage: fix format string args 2016-10-08 13:22:23 +02:00
gstrusage.h tracers: code cleanups 2015-10-05 20:59:39 +02:00
gststats.c stats: Fix warning 2016-10-14 17:30:01 +02:00
gststats.h tracers: code cleanups 2015-10-05 20:59:39 +02:00
gsttracers.c tracers: add leaks tracer 2016-06-03 00:36:46 +01:00
Makefile.am tracers: leaks: Use the new gst_debug_get_stack_trace 2016-11-04 14:22:05 -03:00
meson.build meson: Fix build 2016-12-09 19:31:51 -03:00