Implement ring buffer periodic buffer switch timer
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index ff4a537b540b71e0b58a97fd24a029bfd8447af3..fb4330e4da8b139645348cbaf1d5ae6a445ab910 100644 (file)
@@ -252,8 +252,6 @@ int ustctl_set_filter(int sock, struct lttng_ust_filter_bytecode *bytecode,
        ret = ustcomm_send_unix_sock(sock, bytecode->data,
                                bytecode->len);
        if (ret < 0) {
-               if (ret == -ECONNRESET)
-                       fprintf(stderr, "remote end closed connection\n");
                return ret;
        }
        if (ret != bytecode->len)
@@ -1571,6 +1569,7 @@ void ustctl_init(void)
        lttng_ring_buffer_metadata_client_init();
        lttng_ring_buffer_client_overwrite_init();
        lttng_ring_buffer_client_discard_init();
+       lib_ringbuffer_signal_init();
 }
 
 static __attribute__((destructor))
This page took 0.023109 seconds and 4 git commands to generate.