2 * Copyright (C) 2017 - Julien Desfossez <jdesfossez@efficios.com>
3 * Copyright (C) 2018 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License, version 2 only, as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 51
16 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #include "rotation-thread.h"
26 * Subscribe/unsubscribe the notification_channel from the rotation_thread to
27 * session usage notifications to perform size-based rotations.
29 int subscribe_session_consumed_size_rotation(struct ltt_session
*session
,
31 struct notification_thread_handle
*notification_thread_handle
);
32 int unsubscribe_session_consumed_size_rotation(struct ltt_session
*session
,
33 struct notification_thread_handle
*notification_thread_handle
);