projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: remove adjustment on written var for metadata
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index 761ce93753667f1b93d6f151c93a68d014855e7f..0e33bea72e96b4c6a7c35fd82ec9e1cfb9bb82da 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-1095,7
+1095,11
@@
end:
}
/*
}
/*
- * 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. This is a
+ * core function for writing trace buffers to either the local filesystem or
+ * the network.
+ *
+ * Careful review MUST be put if any changes occur!
*
* Returns the number of bytes written
*/
*
* Returns the number of bytes written
*/
@@
-1168,12
+1172,6
@@
ssize_t lttng_consumer_on_read_subbuffer_mmap(
written = ret;
goto end;
}
written = ret;
goto end;
}
-
- /*
- * We do this so the return value can match the len passed as
- * argument to this function.
- */
- written -= sizeof(stream->relayd_stream_id);
}
}
/* Else, use the default set before which is the filesystem. */
}
}
/* Else, use the default set before which is the filesystem. */
This page took
0.033471 seconds
and
4
git commands to generate.