X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust%2Ftracectl.c;h=c0bf6d2d7536702e02bcf07c9a39f35f7f872689;hb=e17571a59eef2b054c7432f6cba10c2cb467a182;hp=0a8fc8e80f2e2d2e7bdbc3ead5df30a97d40a61f;hpb=b73a4c471dc987ea8548632dffb3c7050de77dd0;p=ust.git diff --git a/libust/tracectl.c b/libust/tracectl.c index 0a8fc8e..c0bf6d2 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -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