Add jul-app ABI/API and handle registration
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 5464880fc3756dec6381b03c0cc2c503bd5b64ea..11b588f77f675aef1a60d9a3c265cec76f2fb4bf 100644 (file)
@@ -957,8 +957,7 @@ error:
  * Find an ust_app using the sock and return it. RCU read side lock must be
  * held before calling this helper function.
  */
-static
-struct ust_app *find_app_by_sock(int sock)
+struct ust_app *ust_app_find_by_sock(int sock)
 {
        struct lttng_ht_node_ulong *node;
        struct lttng_ht_iter iter;
@@ -4152,7 +4151,7 @@ void ust_app_global_update(struct ltt_ust_session *usess, int sock)
 
        rcu_read_lock();
 
-       app = find_app_by_sock(sock);
+       app = ust_app_find_by_sock(sock);
        if (app == NULL) {
                /*
                 * Application can be unregistered before so this is possible hence
This page took 0.023314 seconds and 4 git commands to generate.