From: Mathieu Desnoyers Date: Mon, 1 Nov 2021 19:33:28 +0000 (-0400) Subject: Refactoring: rename lttng_channel_create to lttng_channel_buffer_create X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4e252d1e24585eddf32ffbab53c68ed44d4a7fc8;p=lttng-modules.git Refactoring: rename lttng_channel_create to lttng_channel_buffer_create Signed-off-by: Mathieu Desnoyers Change-Id: I2d1ca065c5eb03adab3a982d1159c2e472bbc177 --- diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index a016bdf4..435c1a25 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -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, diff --git a/src/lttng-abi.c b/src/lttng-abi.c index d4760561..533b5fb4 100644 --- a/src/lttng-abi.c +++ b/src/lttng-abi.c @@ -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, diff --git a/src/lttng-events.c b/src/lttng-events.c index bed65028..b5b1bcec 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -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,