Refactoring: rename lttng_channel_create to lttng_channel_buffer_create
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Nov 2021 19:33:28 +0000 (15:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Nov 2021 19:33:28 +0000 (15:33 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I2d1ca065c5eb03adab3a982d1159c2e472bbc177

include/lttng/events-internal.h
src/lttng-abi.c
src/lttng-events.c

index a016bdf48559534f38ccee3471c91c1f6f931a3d..435c1a250085aeb3d8fe72081afc150f75e7627b 100644 (file)
@@ -1071,7 +1071,7 @@ int lttng_event_notifier_group_create_error_counter(
 void lttng_event_notifier_group_destroy(
                struct lttng_event_notifier_group *event_notifier_group);
 
-struct lttng_kernel_channel_buffer *lttng_channel_create(struct lttng_kernel_session *session,
+struct lttng_kernel_channel_buffer *lttng_channel_buffer_create(struct lttng_kernel_session *session,
                                       const char *transport_name,
                                       void *buf_addr,
                                       size_t subbuf_size, size_t num_subbuf,
index d4760561d73469741f093d96003e2e3cf8020419..533b5fb4a6083c12e01055a632ff005b1dfefb55 100644 (file)
@@ -550,7 +550,7 @@ int lttng_abi_create_channel(struct file *session_file,
         * We tolerate no failure path after channel creation. It will stay
         * invariant for the rest of the session.
         */
-       chan = lttng_channel_create(session, transport_name, NULL,
+       chan = lttng_channel_buffer_create(session, transport_name, NULL,
                                  chan_param->subbuf_size,
                                  chan_param->num_subbuf,
                                  chan_param->switch_timer_interval,
index bed65028a912fff796d2cf5a00c411780b926ecc..b5b1bcec9fb164d24923eb7859d19ea0c6e407a9 100644 (file)
@@ -765,7 +765,7 @@ end:
        return ret;
 }
 
-struct lttng_kernel_channel_buffer *lttng_channel_create(struct lttng_kernel_session *session,
+struct lttng_kernel_channel_buffer *lttng_channel_buffer_create(struct lttng_kernel_session *session,
                                       const char *transport_name,
                                       void *buf_addr,
                                       size_t subbuf_size, size_t num_subbuf,
This page took 0.029083 seconds and 4 git commands to generate.