[Bug 775423] info: Add a 'full' parametter to gst_debug_get_stack_trace
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 30 18:47:52 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=775423
--- Comment #1 from Thibault Saunier <tsaunier at gnome.org> ---
Created attachment 341081
--> https://bugzilla.gnome.org/attachment.cgi?id=341081&action=edit
info: Add a 'full' parametter to gst_debug_get_stack_trace
This is an API break but that API has not been released yet.
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
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list