projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Missing rcu_read_lock in cmd_list_events()
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
session.h
diff --git
a/src/bin/lttng-relayd/session.h
b/src/bin/lttng-relayd/session.h
index 4953cdcd3252883c800f442d3703ee6b4e40c063..cb125be18b4bbcf10ac2dfacf513e1ee4d166ee6 100644
(file)
--- a/
src/bin/lttng-relayd/session.h
+++ b/
src/bin/lttng-relayd/session.h
@@
-22,6
+22,7
@@
#include <limits.h>
#include <inttypes.h>
#include <pthread.h>
#include <limits.h>
#include <inttypes.h>
#include <pthread.h>
+#include <urcu/list.h>
#include <common/hashtable/hashtable.h>
#include <common/hashtable/hashtable.h>
@@
-71,6
+72,15
@@
struct relay_session {
* process of sending those streams.
*/
pthread_mutex_t viewer_ready_lock;
* process of sending those streams.
*/
pthread_mutex_t viewer_ready_lock;
+
+ /*
+ * Member of the session list in struct relay_viewer_session.
+ */
+ struct cds_list_head viewer_session_list;
+};
+
+struct relay_viewer_session {
+ struct cds_list_head sessions_head;
};
static inline void session_viewer_attach(struct relay_session *session)
};
static inline void session_viewer_attach(struct relay_session *session)
This page took
0.023259 seconds
and
4
git commands to generate.