X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fmain.c;h=69d5f6b7f1b10feb51463f86aba65f9b1386cbda;hp=46be1b536f319e4644df8c37be70c7d343b21de9;hb=04ea676f7fb2a6b3d5470737b498418ab37d5e0a;hpb=817153bb678559528701ef1da4bd90a981f3a7f3 diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index 46be1b536..69d5f6b7f 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -105,6 +105,8 @@ static pthread_mutex_t kconsumerd_pid_mutex; /* Mutex to control kconsumerd pid * This points to the tracing session list containing the session count and a * mutex lock. The lock MUST be taken if you iterate over the list. The lock * MUST NOT be taken if you call a public function in session.c. + * + * The lock is nested inside the structure: session_list_ptr->lock. */ static struct ltt_session_list *session_list_ptr;