Clean-up: Move agent_apps_ht_by_sock definition to main.c
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 9347cd709153fcaf7b00b486dfc7d56d0fd14a22..102b05b276bdcbde9b088d46376fc5fc2307ed29 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <common/compat/uuid.h>
 
-#include "agent.h"
 #include "trace-ust.h"
 #include "ust-registry.h"
 
@@ -215,6 +214,9 @@ struct ust_app_session {
 
        /* Metadata channel attributes. */
        struct ustctl_consumer_channel_attr metadata_attr;
+
+       char root_shm_path[PATH_MAX];
+       char shm_path[PATH_MAX];
 };
 
 /*
@@ -310,7 +312,8 @@ int ust_app_disable_event_glb(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan, struct ltt_ust_event *uevent);
 int ust_app_add_ctx_channel_glb(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan, struct ltt_ust_context *uctx);
-void ust_app_global_update(struct ltt_ust_session *usess, int sock);
+void ust_app_global_update(struct ltt_ust_session *usess, struct ust_app *app);
+void ust_app_global_update_all(struct ltt_ust_session *usess);
 
 void ust_app_clean_list(void);
 int ust_app_ht_alloc(void);
@@ -417,7 +420,7 @@ int ust_app_ht_alloc(void)
        return 0;
 }
 static inline
-void ust_app_global_update(struct ltt_ust_session *usess, int sock)
+void ust_app_global_update(struct ltt_ust_session *usess, struct ust_app *app)
 {}
 static inline
 int ust_app_disable_channel_glb(struct ltt_ust_session *usess,
This page took 0.023555 seconds and 4 git commands to generate.