fix some errors and warnings in the porting
[ust.git] / libust / tracectl.c
index 0a8fc8e80f2e2d2e7bdbc3ead5df30a97d40a61f..c0bf6d2d7536702e02bcf07c9a39f35f7f872689 100644 (file)
@@ -1117,6 +1117,11 @@ static void __attribute__((constructor)) init()
                /* Ensure markers are initialized */
                init_markers();
 
+               /* Ensure buffers are initialized, for the transport to be available.
+                * We are about to set a trace type and it will fail without this.
+                */
+               init_ustrelay_transport();
+
                /* FIXME: When starting early tracing (here), depending on the
                 * order of constructors, it is very well possible some marker
                 * sections are not yet registered. Because of this, some
This page took 0.022778 seconds and 4 git commands to generate.