Fix: tests: missing _GNU_SOURCE for F_GETPIPE_SZ
[lttng-tools.git] / src / bin / lttng-sessiond / rotate.hpp
CommitLineData
db66e574 1/*
ab5be9fa
MJ
2 * Copyright (C) 2017 Julien Desfossez <jdesfossez@efficios.com>
3 * Copyright (C) 2018 Jérémie Galarneau <jeremie.galarneau@efficios.com>
db66e574 4 *
ab5be9fa 5 * SPDX-License-Identifier: GPL-2.0-only
db66e574 6 *
db66e574
JD
7 */
8
9#ifndef ROTATE_H
10#define ROTATE_H
11
c9e313bc 12#include "rotation-thread.hpp"
92816cc3 13#include <stdint.h>
db66e574 14
90936dcf
JD
15/*
16 * Subscribe/unsubscribe the notification_channel from the rotation_thread to
17 * session usage notifications to perform size-based rotations.
18 */
19int subscribe_session_consumed_size_rotation(struct ltt_session *session,
20 uint64_t size,
21 struct notification_thread_handle *notification_thread_handle);
22int unsubscribe_session_consumed_size_rotation(struct ltt_session *session,
23 struct notification_thread_handle *notification_thread_handle);
24
db66e574 25#endif /* ROTATE_H */
This page took 0.049604 seconds and 4 git commands to generate.