X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-registry-channel.hpp;h=5a99c1bdbbee3bd4e1bd6a242e73bfe00ab09a1b;hb=24ed18f2ceda5023e4ad755547ad79466730cbd3;hp=1e5745aedcfe2fdc4b980315c84414dbfbf4b2cb;hpb=6d31b87d46a9301fe86d273616ab3d7214d24e65;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-registry-channel.hpp b/src/bin/lttng-sessiond/ust-registry-channel.hpp index 1e5745aed..5a99c1bdb 100644 --- a/src/bin/lttng-sessiond/ust-registry-channel.hpp +++ b/src/bin/lttng-sessiond/ust-registry-channel.hpp @@ -9,6 +9,7 @@ #define LTTNG_UST_REGISTRY_CHANNEL_H #include "stream-class.hpp" +#include "trace-class.hpp" #include @@ -31,6 +32,8 @@ public: using event_added_listener_fn = std::function; registry_channel(uint32_t channel_id, + const lttng::sessiond::trace::abi& trace_abi, + std::string default_clock_class_name, registered_listener_fn channel_registered_listener, event_added_listener_fn new_event_listener); void add_event(int session_objd, @@ -45,8 +48,8 @@ public: uint32_t& out_event_id); virtual ~registry_channel(); - virtual const lttng::sessiond::trace::type& get_context() const override final; - void set_context(lttng::sessiond::trace::type::cuptr context); + virtual const lttng::sessiond::trace::type *get_event_context() const override final; + void set_event_context(lttng::sessiond::trace::type::cuptr context); /* Channel was registered to at least one application. */ bool is_registered() const;