From: Mathieu Desnoyers Date: Tue, 23 Aug 2011 16:04:46 +0000 (-0400) Subject: Make client init quiet (except in UST_DEBUG mode) X-Git-Tag: v1.9.1~280 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=18c1cd87c54290691f0e6913f84c16fa5267b86d;p=lttng-ust.git Make client init quiet (except in UST_DEBUG mode) Signed-off-by: Mathieu Desnoyers --- diff --git a/libust/ltt-ring-buffer-client.h b/libust/ltt-ring-buffer-client.h index e4845642..f15711c1 100644 --- a/libust/ltt-ring-buffer-client.h +++ b/libust/ltt-ring-buffer-client.h @@ -509,13 +509,13 @@ static struct ltt_transport ltt_relay_transport = { static void __attribute__((constructor)) ltt_ring_buffer_client_init(void) { - printf("LTT : ltt ring buffer client init\n"); + DBG("LTT : ltt ring buffer client init\n"); ltt_transport_register(<t_relay_transport); } static void __attribute__((destructor)) ltt_ring_buffer_client_exit(void) { - printf("LTT : ltt ring buffer client exit\n"); + DBG("LTT : ltt ring buffer client exit\n"); ltt_transport_unregister(<t_relay_transport); } diff --git a/libust/ltt-ring-buffer-metadata-client.h b/libust/ltt-ring-buffer-metadata-client.h index ef70a9f0..c783b242 100644 --- a/libust/ltt-ring-buffer-metadata-client.h +++ b/libust/ltt-ring-buffer-metadata-client.h @@ -277,13 +277,13 @@ static struct ltt_transport ltt_relay_transport = { static void __attribute__((constructor)) ltt_ring_buffer_client_init(void) { - printf("LTT : ltt ring buffer client init\n"); + DBG("LTT : ltt ring buffer client init\n"); ltt_transport_register(<t_relay_transport); } static void __attribute__((destructor)) ltt_ring_buffer_client_exit(void) { - printf("LTT : ltt ring buffer client exit\n"); + DBG("LTT : ltt ring buffer client exit\n"); ltt_transport_unregister(<t_relay_transport); }