summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c0e31d2)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
goto fd_error;
}
event_file = anon_inode_getfile("[lttng_event]",
goto fd_error;
}
event_file = anon_inode_getfile("[lttng_event]",
- <tng_event_fops, /* TODO: filter */
NULL, O_RDWR);
if (IS_ERR(event_file)) {
ret = PTR_ERR(event_file);
NULL, O_RDWR);
if (IS_ERR(event_file)) {
ret = PTR_ERR(event_file);
/**
* lttng_channel_poll - lttng stream addition/removal monitoring
*
/**
* lttng_channel_poll - lttng stream addition/removal monitoring
*
static
int lttng_channel_release(struct inode *inode, struct file *file)
static
int lttng_channel_release(struct inode *inode, struct file *file)
static const struct file_operations lttng_channel_fops = {
.release = lttng_channel_release,
static const struct file_operations lttng_channel_fops = {
.release = lttng_channel_release,
.poll = lttng_channel_poll,
.poll = lttng_channel_poll,
.unlocked_ioctl = lttng_channel_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = lttng_channel_ioctl,
.unlocked_ioctl = lttng_channel_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = lttng_channel_ioctl,
+/* TODO: filter control ioctl */
static const struct file_operations lttng_event_fops = {
.release = lttng_event_release,
}
static const struct file_operations lttng_event_fops = {
.release = lttng_event_release,
}