projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ABI, temporarily disable cpu hotplug poll
[lttng-modules.git]
/
ltt-debugfs-abi.c
diff --git
a/ltt-debugfs-abi.c
b/ltt-debugfs-abi.c
index e76c7169b09d3cc83db863ee3c9916a08774e594..f856fc8f775c1307e7e994c7a7a0b2d9e7439ba4 100644
(file)
--- a/
ltt-debugfs-abi.c
+++ b/
ltt-debugfs-abi.c
@@
-286,7
+286,7
@@
int lttng_abi_create_event(struct file *channel_file,
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 */
+ <tng_event_fops,
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);
@@
-348,6
+348,8
@@
long lttng_channel_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
}
}
}
}
+/* TODO: poll */
+#if 0
/**
* lttng_channel_poll - lttng stream addition/removal monitoring
*
/**
* lttng_channel_poll - lttng stream addition/removal monitoring
*
@@
-372,6
+374,7
@@
unsigned int lttng_channel_poll(struct file *file, poll_table *wait)
return mask;
}
return mask;
}
+#endif //0
static
int lttng_channel_release(struct inode *inode, struct file *file)
static
int lttng_channel_release(struct inode *inode, struct file *file)
@@
-383,7
+386,10
@@
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,
+/* TODO */
+#if 0
.poll = lttng_channel_poll,
.poll = lttng_channel_poll,
+#endif //0
.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,
@@
-398,6
+404,7
@@
int lttng_event_release(struct inode *inode, struct file *file)
return 0;
}
return 0;
}
+/* 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,
}
This page took
0.02347 seconds
and
4
git commands to generate.