tracer: use GQuark or strings for the hook id
authorStefan Sauer <ensonic@users.sf.net>
Mon, 15 Sep 2014 20:27:11 +0000 (22:27 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 5 Oct 2015 18:59:39 +0000 (20:59 +0200)
commit4881d1c16c4f6bedf5ef5362771fee062979fb61
tree63d5f890f5a6cd6b2cbcde1927d87b59bc7dd88e
parent1a3e218b894695c23f538c9552b5bee27a01b101
tracer: use GQuark or strings for the hook id

This way one can define new tracing probes without changing the core. We are
using our own quark table, as 1) we only want to initialize them if we're
tracing, 2) we want to share them with the tracers.
gst/gsttracer.h
gst/gsttracerutils.c
gst/gsttracerutils.h
plugins/tracers/gstlatency.c
plugins/tracers/gstlog.c
plugins/tracers/gstrusage.c
plugins/tracers/gststats.c