X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftimer.h;fp=src%2Fbin%2Flttng-sessiond%2Ftimer.h;h=0000000000000000000000000000000000000000;hp=c958794848b4138b351a35cc64fa30c9bd2bb40d;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c diff --git a/src/bin/lttng-sessiond/timer.h b/src/bin/lttng-sessiond/timer.h deleted file mode 100644 index c95879484..000000000 --- a/src/bin/lttng-sessiond/timer.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2017 Julien Desfossez - * Copyright (C) 2018 Jérémie Galarneau - * - * SPDX-License-Identifier: GPL-2.0-only - * - */ - -#ifndef SESSIOND_TIMER_H -#define SESSIOND_TIMER_H - -#include -#include - -#include "session.h" - -struct timer_thread_parameters { - struct rotation_thread_timer_queue *rotation_thread_job_queue; -}; - -int timer_signal_init(void); - -/* Start a session's rotation pending check timer (one-shot mode). */ -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); - -/* Start a session's rotation schedule timer. */ -int timer_session_rotation_schedule_timer_start(struct ltt_session *session, - unsigned int interval_us); -/* Stop a session's rotation schedule timer. */ -int timer_session_rotation_schedule_timer_stop(struct ltt_session *session); - -bool launch_timer_thread( - struct timer_thread_parameters *timer_thread_parameters); - -#endif /* SESSIOND_TIMER_H */