From: Jérémie Galarneau Date: Wed, 12 Nov 2014 20:19:49 +0000 (-0500) Subject: Note find_ust_app_context must be called with RCU read lock X-Git-Tag: v2.6.0-rc4~52 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a4b56f4f1e2f9e7e0b85c32e48b1a5b437bd3413;p=lttng-tools.git Note find_ust_app_context must be called with RCU read lock 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 7e4bf9405..1ad08690d 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -1989,6 +1989,7 @@ no_match: /* * Lookup for an ust app context from an lttng_ust_context. * + * Must be called while holding RCU read side lock. * Return an ust_app_ctx object or NULL on error. */ static