projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: relayd: live client fails on clear of multi-domain session
[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 3a9b92436f3aa44601d8b65ea0b050fe06b5bce3..8029dcd8e96f0865083094d2b1c84a0ccb4ae6aa 100644
(file)
--- a/
src/bin/lttng-relayd/session.h
+++ b/
src/bin/lttng-relayd/session.h
@@
-73,7
+73,7
@@
struct relay_session {
struct urcu_ref ref;
struct urcu_ref ref;
- pthread_mutex_t lock;
+
mutable
pthread_mutex_t lock;
/* major/minor version used for this session. */
uint32_t major;
/* major/minor version used for this session. */
uint32_t major;
@@
-156,6
+156,8
@@
void session_put(struct relay_session *session);
int session_close(struct relay_session *session);
int session_abort(struct relay_session *session);
int session_close(struct relay_session *session);
int session_abort(struct relay_session *session);
+bool session_has_ongoing_rotation(const struct relay_session *session);
+
void print_sessions(void);
#endif /* _SESSION_H */
void print_sessions(void);
#endif /* _SESSION_H */
This page took
0.023515 seconds
and
4
git commands to generate.