if(!strcmp(trace->channels[i].channel_name, ch_name)) {
struct ust_buffer *buf = channel->buf[ch_cpu];
char *reply;
- long consumed_old=0;
found = 1;
/* 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