[Bug 760267] tracer: how to pass and structure tracing data (GstStructure, GVariant, etc.)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 12 09:02:23 PST 2016


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

--- Comment #9 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
Created attachment 318898
  --> https://bugzilla.gnome.org/attachment.cgi?id=318898&action=edit
first stab at adding a new tracer record class

This will change the records from

0:00:00.352959142 27402       0xafaed0 TRACE             GST_TRACER
gsttracer.c:214:gst_tracer_log_trace: latency, src=(string)audiotestsrc0_src,
sink=(string)autoaudiosink0-actual-sink-pulse_sink, time=(guint64)68860;

to

0:00:00.352940480 27402       0xafaed0 TRACE             GST_TRACER :0::
latency, src=(string)audiotestsrc0_src,
sink=(string)autoaudiosink0-actual-sink-pulse_sink, time=(guint64)68860;

So, we're essentially dropping the filename+func+line (that wan't useful so
far). 

Please note, that the patch is not yet complete. If it looks good, I will
remove the previous gst_tracer_log_trace function and also finish porting the
existing tracer.

The tracerserialize benchmark update shows:
0:00:00.301906352: GstStructure
0:00:00.000385220: GstStructure template
0:00:00.456386346: GVariant

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