projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: make ust consumer posix compliant for poll flags
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.h
diff --git
a/src/common/ust-consumer/ust-consumer.h
b/src/common/ust-consumer/ust-consumer.h
index 76b4eeece093b5804bfe51e4e33a0928a9370649..0089ddf17ab250efa064b539a148cc956cf1034a 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.h
+++ b/
src/common/ust-consumer/ust-consumer.h
@@
-30,14
+30,14
@@
/*
* Mmap the ring buffer, read it and write the data to the tracefile.
*
/*
* Mmap the ring buffer, read it and write the data to the tracefile.
*
- * Returns the number of bytes written.
+ * Returns the number of bytes written
, else negative value on error
.
*/
*/
-extern
in
t lttng_ustconsumer_on_read_subbuffer_mmap(
+extern
ssize_
t lttng_ustconsumer_on_read_subbuffer_mmap(
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *stream, unsigned long len);
/* Not implemented */
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *stream, unsigned long len);
/* Not implemented */
-extern
in
t lttng_ustconsumer_on_read_subbuffer_splice(
+extern
ssize_
t lttng_ustconsumer_on_read_subbuffer_splice(
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *stream, unsigned long len);
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *stream, unsigned long len);
@@
-76,7
+76,7
@@
void lttng_ustconsumer_on_stream_hangup(struct lttng_consumer_stream *stream);
#else /* HAVE_LIBLTTNG_UST_CTL */
static inline
#else /* HAVE_LIBLTTNG_UST_CTL */
static inline
-
in
t lttng_ustconsumer_on_read_subbuffer_mmap(
+
ssize_
t lttng_ustconsumer_on_read_subbuffer_mmap(
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *stream, unsigned long len)
{
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *stream, unsigned long len)
{
@@
-84,7
+84,7
@@
int lttng_ustconsumer_on_read_subbuffer_mmap(
}
static inline
}
static inline
-
in
t lttng_ustconsumer_on_read_subbuffer_splice(
+
ssize_
t lttng_ustconsumer_on_read_subbuffer_splice(
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *uststream, unsigned long len)
{
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *uststream, unsigned long len)
{
This page took
0.025064 seconds
and
5
git commands to generate.