From: Mathieu Desnoyers Date: Tue, 23 Aug 2011 18:19:54 +0000 (-0400) Subject: Fix channel transport name X-Git-Tag: v1.9.1~276 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=818173b9424ba2dd317e05e913ec5891b26e83d3;p=lttng-ust.git Fix channel transport name Signed-off-by: Mathieu Desnoyers --- diff --git a/libust/ltt-ring-buffer-client.h b/libust/ltt-ring-buffer-client.h index f15711c1..3d3bfb5e 100644 --- a/libust/ltt-ring-buffer-client.h +++ b/libust/ltt-ring-buffer-client.h @@ -489,7 +489,7 @@ int ltt_is_disabled(struct channel *chan) } static struct ltt_transport ltt_relay_transport = { - .name = "relay-" RING_BUFFER_MODE_TEMPLATE_STRING, + .name = "relay-" RING_BUFFER_MODE_TEMPLATE_STRING "-mmap", .ops = { .channel_create = _channel_create, .channel_destroy = ltt_channel_destroy, diff --git a/libust/ltt-ring-buffer-metadata-client.h b/libust/ltt-ring-buffer-metadata-client.h index c783b242..8efa9e37 100644 --- a/libust/ltt-ring-buffer-metadata-client.h +++ b/libust/ltt-ring-buffer-metadata-client.h @@ -257,7 +257,7 @@ int ltt_is_disabled(struct channel *chan) } static struct ltt_transport ltt_relay_transport = { - .name = "relay-" RING_BUFFER_MODE_TEMPLATE_STRING, + .name = "relay-" RING_BUFFER_MODE_TEMPLATE_STRING "-mmap", .ops = { .channel_create = _channel_create, .channel_destroy = ltt_channel_destroy, diff --git a/libust/lttng-ust-abi.c b/libust/lttng-ust-abi.c index 5f4ba891..8afac10d 100644 --- a/libust/lttng-ust-abi.c +++ b/libust/lttng-ust-abi.c @@ -215,6 +215,7 @@ int lttng_abi_create_root_handle(void) return root_handle; } +static int lttng_abi_create_session(void) { struct ltt_session *session;