X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.h;fp=src%2Fbin%2Flttng-sessiond%2Frotation-thread.h;h=0000000000000000000000000000000000000000;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=27ef3954e5051520fdba794f900217626effab48;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/rotation-thread.h b/src/bin/lttng-sessiond/rotation-thread.h deleted file mode 100644 index 27ef3954e..000000000 --- a/src/bin/lttng-sessiond/rotation-thread.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2017 Julien Desfossez - * Copyright (C) 2018 Jérémie Galarneau - * - * SPDX-License-Identifier: GPL-2.0-only - * - */ - -#ifndef ROTATION_THREAD_H -#define ROTATION_THREAD_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "session.h" -#include "notification-thread.h" - -extern struct lttng_notification_channel *rotate_notification_channel; - -enum rotation_thread_job_type { - ROTATION_THREAD_JOB_TYPE_SCHEDULED_ROTATION, - ROTATION_THREAD_JOB_TYPE_CHECK_PENDING_ROTATION -}; - -struct rotation_thread_timer_queue; -struct rotation_thread_handle; - -struct rotation_thread_timer_queue *rotation_thread_timer_queue_create(void); -void rotation_thread_timer_queue_destroy( - struct rotation_thread_timer_queue *queue); - -struct rotation_thread_handle *rotation_thread_handle_create( - struct rotation_thread_timer_queue *rotation_timer_queue, - struct notification_thread_handle *notification_thread_handle); - -void rotation_thread_handle_destroy( - struct rotation_thread_handle *handle); - -void rotation_thread_enqueue_job(struct rotation_thread_timer_queue *queue, - enum rotation_thread_job_type job_type, - struct ltt_session *session); - -bool launch_rotation_thread(struct rotation_thread_handle *handle); - -#endif /* ROTATION_THREAD_H */