2 * Copyright (C) 2022 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #ifndef LTTNG_UST_FIELD_CONVERT_H
9 #define LTTNG_UST_FIELD_CONVERT_H
12 #include "ust-registry.hpp"
13 #include "ust-registry-session.hpp"
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 trace::field_location::root lookup_root);
29 } /* namespace sessiond */
30 } /* namespace lttng */
32 #endif /* LTTNG_UST_FIELD_CONVERT_H */