Cleanup: rename lttng_syscalls_destroy_event to lttng_syscalls_destroy_channel
[lttng-modules.git] / src / lttng-events.c
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,
This page took 0.022929 seconds and 4 git commands to generate.