projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add missing metadata socket lock
[lttng-tools.git]
/
src
/
common
/
consumer.h
diff --git
a/src/common/consumer.h
b/src/common/consumer.h
index fe396c017a6f4109291d95aa64d50a462c7a3dcb..5a11950084bce1f36625ff0ce7809c31ca5eae71 100644
(file)
--- a/
src/common/consumer.h
+++ b/
src/common/consumer.h
@@
-396,8
+396,10
@@
struct lttng_consumer_local_data {
enum lttng_consumer_type type;
/* socket to communicate errors with sessiond */
int consumer_error_socket;
enum lttng_consumer_type type;
/* socket to communicate errors with sessiond */
int consumer_error_socket;
- /* socket to ask metadata to sessiond */
+ /* socket to ask metadata to sessiond
.
*/
int consumer_metadata_socket;
int consumer_metadata_socket;
+ /* Protect consumer_metadata_socket. */
+ pthread_mutex_t metadata_socket_lock;
/* socket to exchange commands with sessiond */
char *consumer_command_sock_path;
/* communication with splice */
/* socket to exchange commands with sessiond */
char *consumer_command_sock_path;
/* communication with splice */
This page took
0.024928 seconds
and
4
git commands to generate.