2 * Copyright (C) 2017 Julien Desfossez <jdesfossez@efficios.com>
3 * Copyright (C) 2018 Jérémie Galarneau <jeremie.galarneau@efficios.com>
5 * SPDX-License-Identifier: GPL-2.0-only
12 #include "rotation-thread.hpp"
16 * Subscribe/unsubscribe the notification_channel from the rotation_thread to
17 * session usage notifications to perform size-based rotations.
19 int subscribe_session_consumed_size_rotation(struct ltt_session *session,
21 struct notification_thread_handle *notification_thread_handle);
22 int unsubscribe_session_consumed_size_rotation(struct ltt_session *session,
23 struct notification_thread_handle *notification_thread_handle);