sessiond: propagate the use of ltt_session::locked_ref
[lttng-tools.git] / src / bin / lttng-sessiond / kernel.hpp
index 6cb89a19ff53782c15dd9a954f9b2c95237b3526..65b3c7896b77d97d918996dccd75a51d11c2e6be 100644 (file)
@@ -24,7 +24,7 @@
 #define KERNEL_EVENT_INIT_LIST_SIZE 64
 
 int kernel_add_channel_context(struct ltt_kernel_channel *chan, struct ltt_kernel_context *ctx);
-int kernel_create_session(struct ltt_session *session);
+int kernel_create_session(const ltt_session::locked_ref& session);
 int kernel_create_channel(struct ltt_kernel_session *session, struct lttng_channel *chan);
 int kernel_create_event(struct lttng_event *ev,
                        struct ltt_kernel_channel *channel,
@@ -67,8 +67,8 @@ enum lttng_error_code kernel_snapshot_record(struct ltt_kernel_session *ksess,
                                             const struct consumer_output *output,
                                             uint64_t nb_packets_per_stream);
 int kernel_syscall_mask(int chan_fd, char **syscall_mask, uint32_t *nr_bits);
-enum lttng_error_code kernel_rotate_session(struct ltt_session *session);
-enum lttng_error_code kernel_clear_session(struct ltt_session *session);
+enum lttng_error_code kernel_rotate_session(const ltt_session::locked_ref& session);
+enum lttng_error_code kernel_clear_session(const ltt_session::locked_ref& session);
 
 int init_kernel_workarounds();
 int kernel_supports_ring_buffer_snapshot_sample_positions();
This page took 0.022901 seconds and 4 git commands to generate.