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.5.3~42 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=64a81a8556c891774f10b4e76c5923504b8b2f2a;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 46113cf5e..84ab8b1c8 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