projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: consumerd: slow metadata push slows down application registration
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.hpp
diff --git
a/src/common/consumer/consumer.hpp
b/src/common/consumer/consumer.hpp
index 053744904c7c7907dadae920520f6f46cc9b0d0d..9de8d05a3cb188b98c12e8c0c5ac1a476500591a 100644
(file)
--- a/
src/common/consumer/consumer.hpp
+++ b/
src/common/consumer/consumer.hpp
@@
-20,6
+20,7
@@
#include <common/sessiond-comm/sessiond-comm.hpp>
#include <common/trace-chunk-registry.hpp>
#include <common/uuid.hpp>
#include <common/sessiond-comm/sessiond-comm.hpp>
#include <common/trace-chunk-registry.hpp>
#include <common/uuid.hpp>
+#include <common/waiter.hpp>
#include <lttng/lttng.h>
#include <lttng/lttng.h>
@@
-184,6
+185,11
@@
struct lttng_consumer_channel {
/* Metadata cache is metadata channel */
struct consumer_metadata_cache *metadata_cache;
/* Metadata cache is metadata channel */
struct consumer_metadata_cache *metadata_cache;
+ /*
+ * Wait queue awaiting updates to metadata stream's flushed position.
+ */
+ struct lttng_wait_queue metadata_pushed_wait_queue;
+
/* For UST metadata periodical flush */
int switch_timer_enabled;
timer_t switch_timer;
/* For UST metadata periodical flush */
int switch_timer_enabled;
timer_t switch_timer;
This page took
0.026189 seconds
and
4
git commands to generate.