aead01b78137796a349d0ee9757e73b9c0434d0b
[lttng-tools.git] / include / lttng / session-internal.hpp
1 /*
2 * Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #ifndef LTTNG_SESSION_INTERNAL_H
9 #define LTTNG_SESSION_INTERNAL_H
10
11 #include <common/macros.hpp>
12 #include <common/make-unique-wrapper.hpp>
13
14 #include <lttng/constant.h>
15
16 struct lttng_session;
17
18 struct lttng_session_extended {
19 struct {
20 uint64_t value;
21 uint8_t is_set;
22 } LTTNG_PACKED creation_time;
23 } LTTNG_PACKED;
24
25 using lttng_session_uptr =
26 std::unique_ptr<lttng_session[],
27 lttng::memory::create_deleter_class<lttng_session, lttng::free>::deleter>;
28
29 #endif /* LTTNG_SESSION_INTERNAL_H */
This page took 0.032383 seconds and 3 git commands to generate.