projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle unknown domain in MI
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.h
diff --git
a/src/common/consumer/consumer.h
b/src/common/consumer/consumer.h
index 3af7db9136f3b011eef851397a2747ac86878ce2..59764e105c36ef086c77dec6508312e7d8b54d58 100644
(file)
--- a/
src/common/consumer/consumer.h
+++ b/
src/common/consumer/consumer.h
@@
-292,6
+292,11
@@
struct lttng_consumer_stream {
/* Identify if the stream is the metadata */
unsigned int metadata_flag;
/* Identify if the stream is the metadata */
unsigned int metadata_flag;
+ /*
+ * Last known metadata version, reset the metadata file in case
+ * of change.
+ */
+ uint64_t metadata_version;
/* Used when the stream is set for network streaming */
uint64_t relayd_stream_id;
/*
/* Used when the stream is set for network streaming */
uint64_t relayd_stream_id;
/*
@@
-382,6
+387,11
@@
struct lttng_consumer_stream {
/* Indicate if the stream still has some data to be read. */
unsigned int has_data:1;
/* Indicate if the stream still has some data to be read. */
unsigned int has_data:1;
+ /*
+ * Inform the consumer or relay to reset the metadata
+ * file before writing in it (regeneration).
+ */
+ unsigned int reset_metadata_flag:1;
};
/*
};
/*
This page took
0.024753 seconds
and
4
git commands to generate.