From: Mathieu Desnoyers Date: Thu, 25 Nov 2010 02:27:53 +0000 (-0500) Subject: Add file operations on streams X-Git-Tag: v2.0-pre1~212 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7f57c73c47cba1315dea783d5ee3cbd75a6088c4;p=lttng-modules.git Add file operations on streams Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-debugfs-abi.c b/ltt-debugfs-abi.c index 1e3adfa1..5582fcc4 100644 --- a/ltt-debugfs-abi.c +++ b/ltt-debugfs-abi.c @@ -231,7 +231,7 @@ int lttng_abi_open_stream(struct file *channel_filp) goto fd_error; } stream_filp = anon_inode_getfile("[lttng_stream]", - <tng_stream_fops, + &lib_ring_buffer_file_operations, buf, O_RDWR); if (IS_ERR(stream_filp)) { ret = PTR_ERR(stream_filp);