refactor: session: provide an iterator over consumer data channel keys
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry.hpp
index 4bb14be6fcc7d3a1f6c76ffa674bc847927c3650..c0a8ce374eb6eac4902eba11800c4c93dbfdbab7 100644 (file)
 #include "event-class.hpp"
 #include "field.hpp"
 #include "lttng-ust-ctl.hpp"
-#include "session.hpp"
 #include "stream-class.hpp"
 #include "trace-class.hpp"
 #include "ust-clock-class.hpp"
+#include "ust-field-quirks.hpp"
 #include "ust-registry-channel.hpp"
 #include "ust-registry-event.hpp"
 
@@ -263,4 +263,17 @@ static inline int ust_metadata_event_statedump(lttng::sessiond::ust::registry_se
 
 #endif /* HAVE_LIBLTTNG_UST_CTL */
 
+namespace lttng {
+namespace sessiond {
+namespace ust {
+std::vector<trace::field::cuptr>
+create_trace_fields_from_ust_ctl_fields(const lttng::sessiond::ust::registry_session& session,
+                                       const lttng_ust_ctl_field *fields,
+                                       std::size_t field_count,
+                                       trace::field_location::root lookup_root,
+                                       ctl_field_quirks quirks = ctl_field_quirks::NONE);
+} // namespace ust
+} /* namespace sessiond */
+} /* namespace lttng */
+
 #endif /* LTTNG_UST_REGISTRY_H */
This page took 0.023011 seconds and 4 git commands to generate.