X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fsession.h;h=6bc006a4b8db495cb4e445d2d9ce99f38b540927;hp=8029dcd8e96f0865083094d2b1c84a0ccb4ae6aa;hb=fc23b856c4e402da8c6ee07866d34cd8a67ef233;hpb=4045de2805a4f5f980bbd0af9ca152aff4c691e3 diff --git a/src/bin/lttng-relayd/session.h b/src/bin/lttng-relayd/session.h index 8029dcd8e..6bc006a4b 100644 --- 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; - mutable pthread_mutex_t lock; + pthread_mutex_t lock; /* major/minor version used for this session. */ uint32_t major; @@ -156,7 +156,7 @@ void session_put(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); +bool session_has_ongoing_rotation(struct relay_session *session); void print_sessions(void);