projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: streaming and snapshot backward compat for relayd < 2.11
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.h
diff --git
a/src/common/consumer/consumer.h
b/src/common/consumer/consumer.h
index 599ce451c00580a042049d468d30b26be99561cf..13fc61617881de52d86d2839262aaacca7f0d906 100644
(file)
--- a/
src/common/consumer/consumer.h
+++ b/
src/common/consumer/consumer.h
@@
-107,6
+107,12
@@
struct consumer_metadata_cache;
struct lttng_consumer_channel {
/* Is the channel published in the channel hash tables? */
bool is_published;
struct lttng_consumer_channel {
/* Is the channel published in the channel hash tables? */
bool is_published;
+ /*
+ * Was the channel deleted (logically) and waiting to be reclaimed?
+ * If this flag is set, no modification that is not cleaned-up by the
+ * RCU reclamation callback should be made
+ */
+ bool is_deleted;
/* HT node used for consumer_data.channel_ht */
struct lttng_ht_node_u64 node;
/* HT node used for consumer_data.channels_by_session_id_ht */
/* HT node used for consumer_data.channel_ht */
struct lttng_ht_node_u64 node;
/* HT node used for consumer_data.channels_by_session_id_ht */
@@
-313,7
+319,7
@@
struct lttng_consumer_stream {
bool missed_metadata_flush;
enum lttng_event_output output;
bool missed_metadata_flush;
enum lttng_event_output output;
- /* Maximum subbuffer size. */
+ /* Maximum subbuffer size
(in bytes)
. */
unsigned long max_sb_size;
/*
unsigned long max_sb_size;
/*
This page took
0.025386 seconds
and
4
git commands to generate.