- event_file->private_data = priv;
- fd_install(event_fd, event_file);
- /* The event holds a reference on the channel */
- atomic_long_inc(&channel_file->f_count);
- break;
- case LTTNG_KERNEL_SYSCALL:
- ret = lttng_syscalls_register(channel, NULL);
- if (ret)
- goto fd_error;
- event_fd = 0;
- if (event_param->u.syscall.enable) {
- ret = lttng_syscall_filter_enable(channel,
- !strcmp(event_param->name, "*") ?
- NULL : event_param->name);
- if (ret)
- goto fd_error;