Note find_ust_app_context must be called with RCU read lock
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index c2d20747a6e15b76fd6ae48d68bc0130b003b4dc..132bde1bd8943053da78aa5dddc3224bbf9f1d71 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <errno.h>
 #include <inttypes.h>
 #include <pthread.h>
@@ -1968,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
This page took 0.025635 seconds and 5 git commands to generate.