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.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 113682384ae44d829d03af00b1378d25687a4a39..c8ba084606180790b51fc7d11ba8ea5075f019c4 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-43,9
+43,9
@@
extern volatile int consumer_quit;
/*
* 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.
*/
*/
-
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)
{
@@
-90,7
+90,7
@@
end:
*
* Returns the number of bytes spliced.
*/
*
* Returns the number of bytes spliced.
*/
-
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 *stream, unsigned long len)
{
struct lttng_consumer_local_data *ctx,
struct lttng_consumer_stream *stream, unsigned long len)
{
This page took
0.025178 seconds
and
5
git commands to generate.