[Bug 757047] tracer: [API]: add register_hook_for_target.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Oct 24 20:16:27 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=757047

--- Comment #9 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
I think there is still some misunderstanding how the tracer is supposed to be
used. The tracer plugins will collect data and stream then. That's it.
The code that analyzes the data is supposed to read that from the stream. While
the app is running or post-mostem.

The fact that the stream is now part of the gst-debug log is interrim. I've
posted this bug a loooong time ago for discussion:
https://bugzilla.gnome.org/show_bug.cgi?id=733188

If we start filtering in the hooks already, where do we start and where do we
stop? I think the filtering should be done in the app. If we want filtering in
the hook already we need to rethink the api to be more flexible (e.g. using a
callback). Otherwise we're going to add more and more functions here.

So if we want this, what about
gst_tracing_register_filtered_hook (GstTracer * tracer, const gchar * detail, 
     GCallback func,GstTracerFilterFunc filter)

+ the hook_id variant.

-- 
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