From: Jérémie Galarneau Date: Tue, 5 Dec 2017 20:21:49 +0000 (-0500) Subject: Docs: document locking assumption of function X-Git-Tag: v2.11.0-rc1~416 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9acdc1d6905e2bf2c814d303b152e56525745710;p=lttng-tools.git Docs: document locking assumption of function Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 54479e23c..675283aa6 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -2845,6 +2845,8 @@ error: /* * Create and send to the application the created buffers with per UID buffers. * + * This MUST be called with a RCU read side lock acquired. + * * Return 0 on success else a negative value. */ static int create_channel_per_uid(struct ust_app *app,