projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: relayd: live: mishandled initial null trace chunk
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
stream.h
diff --git
a/src/bin/lttng-relayd/stream.h
b/src/bin/lttng-relayd/stream.h
index 1639d2fb98060c81b053d69065481a9f7121ceba..c64b180451f6d1d05a97e87757d8fb73bb627634 100644
(file)
--- a/
src/bin/lttng-relayd/stream.h
+++ b/
src/bin/lttng-relayd/stream.h
@@
-174,6
+174,11
@@
struct relay_stream {
/*
* The trace chunk to which the file currently being produced (if any)
* belongs.
/*
* The trace chunk to which the file currently being produced (if any)
* belongs.
+ *
+ * Note that a relay stream can have no output trace chunk. For
+ * instance, after a session stop followed by a session clear,
+ * streams will not have an output trace chunk until the session
+ * is resumed.
*/
struct lttng_trace_chunk *trace_chunk;
LTTNG_OPTIONAL(struct relay_stream_rotation) ongoing_rotation;
*/
struct lttng_trace_chunk *trace_chunk;
LTTNG_OPTIONAL(struct relay_stream_rotation) ongoing_rotation;
This page took
0.024615 seconds
and
5
git commands to generate.