X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftimer.hpp;fp=src%2Fbin%2Flttng-sessiond%2Ftimer.hpp;h=3cdebbc13590f68bb15baa093d04d6069525dcf0;hb=0038180de36c422cfaeade1145fa9fbc9436b8ad;hp=f746f0ed9c6fba3689894cfcb0eb49b1a921eff9;hpb=8b75cd779ffe332281fec189cdf808e4ee452572;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/timer.hpp b/src/bin/lttng-sessiond/timer.hpp index f746f0ed9..3cdebbc13 100644 --- a/src/bin/lttng-sessiond/timer.hpp +++ b/src/bin/lttng-sessiond/timer.hpp @@ -9,13 +9,14 @@ #ifndef SESSIOND_TIMER_H #define SESSIOND_TIMER_H +#include "rotation-thread.hpp" +#include "session.hpp" + #include #include -#include "session.hpp" - struct timer_thread_parameters { - struct rotation_thread_timer_queue *rotation_thread_job_queue; + lttng::sessiond::rotation_thread_timer_queue *rotation_thread_job_queue; }; int timer_signal_init(void); @@ -24,7 +25,7 @@ int timer_signal_init(void); int timer_session_rotation_pending_check_start(struct ltt_session *session, unsigned int interval_us); /* Stop a session's rotation pending check timer. */ -int timer_session_rotation_pending_check_stop(struct ltt_session *session); +int timer_session_rotation_pending_check_stop(ltt_session &session); /* Start a session's rotation schedule timer. */ int timer_session_rotation_schedule_timer_start(struct ltt_session *session,