projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libust ABI: export streams
[lttng-ust.git]
/
libringbuffer
/
ring_buffer_abi.c
diff --git
a/libringbuffer/ring_buffer_abi.c
b/libringbuffer/ring_buffer_abi.c
index 56423276ef9d3dd3f6552886a6aee115e7554899..0fe6b7e3f07ae10f22a716eb17d58a024d22afd7 100644
(file)
--- a/
libringbuffer/ring_buffer_abi.c
+++ b/
libringbuffer/ring_buffer_abi.c
@@
-1,16
+1,16
@@
/*
/*
- * ring_buffer_
vfs
.c
+ * ring_buffer_
abi
.c
*
* Copyright (C) 2009-2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
*
* Copyright (C) 2009-2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
- * Ring Buffer
VFS file
operations.
+ * Ring Buffer
ABI
operations.
*
* Dual LGPL v2.1/GPL v2 license.
*/
#include "backend.h"
#include "frontend.h"
*
* Dual LGPL v2.1/GPL v2 license.
*/
#include "backend.h"
#include "frontend.h"
-#include
"vfs.h"
+#include
<ust/ring-buffer-abi.h>
static int put_ulong(unsigned long val, unsigned long arg)
{
static int put_ulong(unsigned long val, unsigned long arg)
{
@@
-241,7
+241,7
@@
long lib_ring_buffer_ioctl(struct file *filp, unsigned int cmd, unsigned long ar
arg);
}
case RING_BUFFER_FLUSH:
arg);
}
case RING_BUFFER_FLUSH:
- lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE);
+ lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE
, handle
);
return 0;
default:
return -ENOIOCTLCMD;
return 0;
default:
return -ENOIOCTLCMD;
@@
-354,7
+354,7
@@
long lib_ring_buffer_compat_ioctl(struct file *filp, unsigned int cmd,
return put_ulong(read_offset, arg);
}
case RING_BUFFER_FLUSH:
return put_ulong(read_offset, arg);
}
case RING_BUFFER_FLUSH:
- lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE);
+ lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE
, handle
);
return 0;
default:
return -ENOIOCTLCMD;
return 0;
default:
return -ENOIOCTLCMD;
This page took
0.0245 seconds
and
4
git commands to generate.