X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.c;h=e57463d3e58777eb78612c78c4c77da4296d73dc;hp=bb8a55ed78e162d6acd27d074b3e4cb0ff4988df;hb=9c6518bcd2b538c09de5e1d1df303b97ec203cc6;hpb=3d07eea28a4d86b796d14f27e7bb06fba6804900 diff --git a/src/bin/lttng-sessiond/session.c b/src/bin/lttng-sessiond/session.c index bb8a55ed7..e57463d3e 100644 --- a/src/bin/lttng-sessiond/session.c +++ b/src/bin/lttng-sessiond/session.c @@ -143,6 +143,8 @@ void session_unlock_list(void) /* * Allocate the ltt_sessions_ht_by_id HT. + * + * The session list lock must be held. */ int ltt_sessions_ht_alloc(void) { @@ -161,6 +163,8 @@ end: /* * Destroy the ltt_sessions_ht_by_id HT. + * + * The session list lock must be held. */ void ltt_sessions_ht_destroy(void) {