tracerrecord: add a log record class
authorStefan Sauer <ensonic@users.sf.net>
Tue, 12 Jan 2016 13:59:04 +0000 (14:59 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 15 Jan 2016 20:54:01 +0000 (21:54 +0100)
commit10b78d872b5a0050c8a4572267879b0adbb578f8
treed49e466ba2cab09019fafbcffec6bed870a76f1b
parent7b49459f1ae42a08afff326567f028d1e583b960
tracerrecord: add a log record class

We use this class to register tracer log entry metadata and build a log
template. With the log template we can serialize log data very efficiently.
This also simplifies the logging code, since that is now a simple varargs
function that is not exposing the implementation details.

Add docs for the new class and basic tests.

Remove the previous log handler.

Fixes #760267
17 files changed:
docs/gst/gstreamer-docs.sgml
docs/gst/gstreamer-sections.txt
docs/gst/gstreamer.types.in
gst/Makefile.am
gst/gst_private.h
gst/gststructure.c
gst/gsttracer.c
gst/gsttracer.h
gst/gsttracerrecord.c [new file with mode: 0644]
gst/gsttracerrecord.h [new file with mode: 0644]
plugins/tracers/gstlatency.c
plugins/tracers/gstrusage.c
plugins/tracers/gststats.c
tests/check/Makefile.am
tests/check/gst/.gitignore
tests/check/gst/gsttracerrecord.c [new file with mode: 0644]
win32/common/libgstreamer.def