goto fd_error;
}
event_file = anon_inode_getfile("[lttng_event]",
- <tng_event_fops, /* TODO: filter */
+ <tng_event_fops,
NULL, O_RDWR);
if (IS_ERR(event_file)) {
ret = PTR_ERR(event_file);
}
}
+/* TODO: poll */
+#if 0
/**
* lttng_channel_poll - lttng stream addition/removal monitoring
*
return mask;
}
+#endif //0
static
int lttng_channel_release(struct inode *inode, struct file *file)
static const struct file_operations lttng_channel_fops = {
.release = lttng_channel_release,
+/* TODO */
+#if 0
.poll = lttng_channel_poll,
+#endif //0
.unlocked_ioctl = lttng_channel_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = lttng_channel_ioctl,
return 0;
}
+/* TODO: filter control ioctl */
static const struct file_operations lttng_event_fops = {
.release = lttng_event_release,
}