X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsessiond-timer.h;fp=src%2Fbin%2Flttng-sessiond%2Fsessiond-timer.h;h=0000000000000000000000000000000000000000;hb=8e319828707210e48a5f3e74495881594dba73e8;hp=83be4873ce3381942b0e69ea878331dbbe088109;hpb=92816cc33a1add3c8276839bd6335e17423577dd;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/sessiond-timer.h b/src/bin/lttng-sessiond/sessiond-timer.h deleted file mode 100644 index 83be4873c..000000000 --- a/src/bin/lttng-sessiond/sessiond-timer.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2017 - Julien Desfossez - * Copyright (C) 2018 - Jérémie Galarneau - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef SESSIOND_TIMER_H -#define SESSIOND_TIMER_H - -#include - -#include "session.h" - -struct timer_thread_parameters { - struct rotation_thread_timer_queue *rotation_thread_job_queue; -}; - -int timer_signal_init(void); -void *timer_thread_func(void *data); - -void timer_exit(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); - -#endif /* SESSIOND_TIMER_H */