| 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 | #include "ust-registry-session.hpp" |
| 14 | |
| 15 | #include <cstddef> |
| 16 | #include <vector> |
| 17 | |
| 18 | namespace lttng { |
| 19 | namespace sessiond { |
| 20 | namespace ust { |
| 21 | |
| 22 | std::vector<trace::field::cuptr> create_trace_fields_from_ust_ctl_fields( |
| 23 | const lttng::sessiond::ust::registry_session& session, |
| 24 | const lttng_ust_ctl_field *fields, |
| 25 | std::size_t field_count); |
| 26 | |
| 27 | } /* namespace ust */ |
| 28 | } /* namespace sessiond */ |
| 29 | } /* namespace lttng */ |
| 30 | |
| 31 | #endif /* LTTNG_UST_FIELD_CONVERT_H */ |