Add kernel and UST time namespace context
[lttng-tools.git] / src / bin / lttng-sessiond / rotate.h
1 /*
2 * Copyright (C) 2017 Julien Desfossez <jdesfossez@efficios.com>
3 * Copyright (C) 2018 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0-only
6 *
7 */
8
9 #ifndef ROTATE_H
10 #define ROTATE_H
11
12 #include "rotation-thread.h"
13 #include <stdint.h>
14
15 /*
16 * Subscribe/unsubscribe the notification_channel from the rotation_thread to
17 * session usage notifications to perform size-based rotations.
18 */
19 int subscribe_session_consumed_size_rotation(struct ltt_session *session,
20 uint64_t size,
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);
24
25 #endif /* ROTATE_H */
This page took 0.029835 seconds and 4 git commands to generate.