X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.h;fp=src%2Fbin%2Flttng-sessiond%2Frotation-thread.h;h=41da6e0444e209855fe14d7986834e9dd1979c99;hp=c7bca0c4b7937fc6e2d4dc114255d32b3af4fc39;hb=90936dcf0968343f20b2f6fd365b9c015cdb9717;hpb=1d757b1cd3b4669b52e2d9ceafb03eafd42490ff diff --git a/src/bin/lttng-sessiond/rotation-thread.h b/src/bin/lttng-sessiond/rotation-thread.h index c7bca0c4b..41da6e044 100644 --- a/src/bin/lttng-sessiond/rotation-thread.h +++ b/src/bin/lttng-sessiond/rotation-thread.h @@ -26,6 +26,7 @@ #include #include #include +#include #include "session.h" /* @@ -49,7 +50,13 @@ struct rotation_thread_handle { int kernel_consumer; /* quit pipe */ int thread_quit_pipe; + struct rotation_thread_timer_queue *rotation_timer_queue; + + /* Access to the notification thread cmd_queue */ + struct notification_thread_handle *notification_thread_handle; + + sem_t *notification_thread_ready; }; struct rotation_thread_handle *rotation_thread_handle_create( @@ -57,7 +64,9 @@ struct rotation_thread_handle *rotation_thread_handle_create( struct lttng_pipe *ust64_channel_rotate_pipe, struct lttng_pipe *kernel_channel_rotate_pipe, int thread_quit_pipe, - struct rotation_thread_timer_queue *rotation_timer_queue); + struct rotation_thread_timer_queue *rotation_timer_queue, + struct notification_thread_handle *notification_thread_handle, + sem_t *notification_thread_ready); void rotation_thread_handle_destroy( struct rotation_thread_handle *handle);