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-Url: https://git.lttng.org./?a=commitdiff_plain;h=be184a0fd1ecf5c5405b94e74920bf975dc6d396;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 784a49ce0..132bde1bd 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -1969,6 +1969,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