Cleanup: rename lttng_syscalls_destroy_event to lttng_syscalls_destroy_channel
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Nov 2021 19:20:22 +0000 (15:20 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Nov 2021 19:20:22 +0000 (15:20 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iabff0107d1280e2d88aa607b3220fa811f80c09c

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

index b9f0a4148ac288d1b230c5d077722901d8f188cf..84c0d009a4f2eefbc5d415eaf3fe9a236492a23e 100644 (file)
@@ -811,7 +811,7 @@ void lttng_enabler_link_bytecode(const struct lttng_kernel_event_desc *event_des
 #if defined(CONFIG_HAVE_SYSCALL_TRACEPOINTS)
 int lttng_syscalls_register_event(struct lttng_event_recorder_enabler *event_enabler);
 int lttng_syscalls_unregister_channel(struct lttng_kernel_channel_buffer *chan);
-int lttng_syscalls_destroy_event(struct lttng_kernel_channel_buffer *chan);
+int lttng_syscalls_destroy_channel(struct lttng_kernel_channel_buffer *chan);
 int lttng_syscall_filter_enable_event_recorder(struct lttng_kernel_event_recorder *event_recorder);
 int lttng_syscall_filter_disable_event_recorder(struct lttng_kernel_event_recorder *event_recorder);
 
index 19262b4195e96a8f1cec968537229d3b54f5f70d..731baa856d70937b7f788d64c02708be2cda0347 100644 (file)
@@ -369,7 +369,7 @@ void lttng_session_destroy(struct lttng_kernel_session *session)
        }
        synchronize_trace();    /* Wait for in-flight events to complete */
        list_for_each_entry(chan_priv, &session->priv->chan, node) {
-               ret = lttng_syscalls_destroy_event(chan_priv->pub);
+               ret = lttng_syscalls_destroy_channel(chan_priv->pub);
                WARN_ON(ret);
        }
        list_for_each_entry_safe(event_recorder_enabler, tmp_event_recorder_enabler,
index 62761b8286b620bd54564b234144820a03a1a1b2..33f05ea358b13a45e0dbd115acfd8f666b5f3b1b 100644 (file)
@@ -1170,7 +1170,7 @@ int lttng_syscalls_unregister_channel(struct lttng_kernel_channel_buffer *chan)
        return 0;
 }
 
-int lttng_syscalls_destroy_event(struct lttng_kernel_channel_buffer *chan)
+int lttng_syscalls_destroy_channel(struct lttng_kernel_channel_buffer *chan)
 {
        struct lttng_kernel_syscall_table *syscall_table = &chan->priv->parent.syscall_table;
 
This page took 0.028736 seconds and 4 git commands to generate.