From: Jérémie Galarneau Date: Wed, 16 May 2018 22:32:38 +0000 (-0400) Subject: Fix: sessions with agent channels fail to load X-Git-Tag: v2.11.0-rc1~236 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=36d1687c718cc647604741cf21e1ffa0b3459429;hp=36d1687c718cc647604741cf21e1ffa0b3459429;p=lttng-tools.git Fix: sessions with agent channels fail to load Channels of the "agent" types cannot be created directly. They are meant to be created implicitly through the activation of events in their domain. However, a user can override the default channel configuration attributes by creating the underlying UST channel before enabling an agent domain event. Hence, the channel's type is substituted before the creation and restored by the time events are created. Signed-off-by: Jérémie Galarneau ---