sessiond: propagate the use of ltt_session::locked_ref
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.hpp
index 7a3f875915659833d22d6b2eb2795ed4292ad93a..f292753c09f7495b72e11809992ba63a7b6aaa50 100644 (file)
@@ -426,11 +426,11 @@ int ust_app_pid_get_channel_runtime_stats(struct ltt_ust_session *usess,
                                          uint64_t *discarded,
                                          uint64_t *lost);
 int ust_app_regenerate_statedump_all(struct ltt_ust_session *usess);
-enum lttng_error_code ust_app_rotate_session(struct ltt_session *session);
+enum lttng_error_code ust_app_rotate_session(const ltt_session::locked_ref& session);
 enum lttng_error_code ust_app_create_channel_subdirectories(const struct ltt_ust_session *session);
 int ust_app_release_object(struct ust_app *app, struct lttng_ust_abi_object_data *data);
-enum lttng_error_code ust_app_clear_session(struct ltt_session *session);
-enum lttng_error_code ust_app_open_packets(struct ltt_session *session);
+enum lttng_error_code ust_app_clear_session(const ltt_session::locked_ref& session);
+enum lttng_error_code ust_app_open_packets(const ltt_session::locked_ref& session);
 
 int ust_app_setup_event_notifier_group(struct ust_app *app);
 
@@ -705,7 +705,7 @@ static inline int ust_app_regenerate_statedump_all(struct ltt_ust_session *usess
        return 0;
 }
 
-static inline enum lttng_error_code ust_app_rotate_session(struct ltt_session *session
+static inline enum lttng_error_code ust_app_rotate_session(const ltt_session::locked_ref& session
                                                           __attribute__((unused)))
 {
        return LTTNG_ERR_UNK;
@@ -724,13 +724,13 @@ static inline int ust_app_release_object(struct ust_app *app __attribute__((unus
        return 0;
 }
 
-static inline enum lttng_error_code ust_app_clear_session(struct ltt_session *session
+static inline enum lttng_error_code ust_app_clear_session(const ltt_session::locked_ref& session
                                                          __attribute__((unused)))
 {
        return LTTNG_ERR_UNK;
 }
 
-static inline enum lttng_error_code ust_app_open_packets(struct ltt_session *session
+static inline enum lttng_error_code ust_app_open_packets(const ltt_session::locked_ref& session
                                                         __attribute__((unused)))
 {
        return LTTNG_ERR_UNK;
This page took 0.023089 seconds and 4 git commands to generate.