Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iabff0107d1280e2d88aa607b3220fa811f80c09c
#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);
}
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,
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;