+ gint i = 0;
+ const gchar *env = g_getenv ("GST_TRACERS");
+
+ /* We initialize the tracer sub system even if the end
+ * user did not activate it through the env variable
+ * so that external tools can use it anyway */
+ GST_DEBUG ("Initializing GstTracer");
+ _priv_tracers = g_hash_table_new (NULL, NULL);
+
+ if (G_N_ELEMENTS (_quark_strings) != GST_TRACER_QUARK_MAX)
+ g_warning ("the quark table is not consistent! %d != %d",
+ (gint) G_N_ELEMENTS (_quark_strings), GST_TRACER_QUARK_MAX);
+
+ for (i = 0; i < GST_TRACER_QUARK_MAX; i++) {
+ _priv_gst_tracer_quark_table[i] =
+ g_quark_from_static_string (_quark_strings[i]);
+ }