Commit | Line | Data |
---|---|---|
d7bfb9b0 JG |
1 | /* |
2 | * Copyright (C) 2022 Jérémie Galarneau <jeremie.galarneau@efficios.com> | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0-only | |
5 | * | |
6 | */ | |
7 | ||
8 | #ifndef LTTNG_UST_FIELD_CONVERT_H | |
9 | #define LTTNG_UST_FIELD_CONVERT_H | |
10 | ||
11 | #include "field.hpp" | |
12 | #include "ust-registry.hpp" | |
13 | ||
14 | #include <cstddef> | |
15 | #include <vector> | |
16 | ||
17 | namespace lttng { | |
18 | namespace sessiond { | |
19 | namespace ust { | |
20 | ||
21 | std::vector<trace::field::cuptr> create_trace_fields_from_ust_ctl_fields( | |
22 | const ust_registry_session& session, | |
23 | const lttng_ust_ctl_field *fields, | |
24 | std::size_t field_count); | |
25 | ||
26 | } /* namespace ust */ | |
27 | } /* namespace sessiond */ | |
28 | } /* namespace lttng */ | |
29 | ||
30 | #endif /* LTTNG_UST_FIELD_CONVERT_H */ |