details::locked_registry_session_release>::
deleter>;
- virtual lttng_buffer_type get_buffering_scheme() const noexcept = 0;
+ virtual lttng_buffer_type buffering_scheme() const noexcept = 0;
locked_ptr lock() noexcept;
void add_channel(uint64_t channel_key);
/* A channel is protected by its parent registry session's lock. */
- lttng::sessiond::ust::registry_channel& get_channel(uint64_t channel_key) const;
+ lttng::sessiond::ust::registry_channel& channel(uint64_t channel_key) const;
void remove_channel(uint64_t channel_key, bool notify);
struct lttng_ust_ctl_enum_entry *raw_entries,
size_t nr_entries,
uint64_t *enum_id);
- registry_enum::const_rcu_protected_reference get_enumeration(
+ registry_enum::const_rcu_protected_reference enumeration(
const char *enum_name, uint64_t enum_id) const;
void regenerate_metadata();
- virtual ~registry_session();
- virtual const lttng::sessiond::trace::type *get_packet_header() const noexcept override;
+ ~registry_session() override;
+ registry_session(const registry_session&) = delete;
+ registry_session(registry_session&&) = delete;
+ registry_session& operator=(registry_session&&) = delete;
+ registry_session& operator=(const registry_session&) = delete;
+
+ const lttng::sessiond::trace::type *packet_header() const noexcept override;
/*
* With multiple writers and readers, use this lock to access
uid_t euid,
gid_t egid,
uint64_t tracing_id);
- virtual void _visit_environment(
- lttng::sessiond::trace::trace_class_visitor& trace_class_visitor)
- const override;
+ void accept(
+ trace::trace_class_environment_visitor& environment_visitor) const override;
void _generate_metadata();
private:
registry_enum *_lookup_enum(const registry_enum *target_enum) const;
lttng::sessiond::trace::type::cuptr _create_packet_header() const;
- virtual void _accept_on_clock_classes(
+ void _accept_on_clock_classes(
lttng::sessiond::trace::trace_class_visitor& trace_class_visitor)
- const override final;
- virtual void _accept_on_stream_classes(
+ const final;
+ void _accept_on_stream_classes(
lttng::sessiond::trace::trace_class_visitor& trace_class_visitor)
- const override final;
+ const final;
/* Next channel ID available for a newly registered channel. */
uint32_t _next_channel_id = 0;