From: Mathieu Desnoyers Date: Wed, 12 May 2021 20:05:29 +0000 (-0400) Subject: Fix: validate whether event notifiers are supported by UST application X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=783db3166036b959e842c9238eb67d338823ab40;hp=783db3166036b959e842c9238eb67d338823ab40;p=lttng-tools.git Fix: validate whether event notifiers are supported by UST application Considering that lttng-sessiond interacts with older (2.12) applications as well as 2.13+, it needs not to send event notifiers related commands to an older UST, because the unknown command will cause the protocol to become out of sync on the communication socket, because the older lttng-ust does not know how many bytes must be read when receiving the unknown command. So even though it can return that the command is unknown, the communication socket becomes out of sync. Depends-on: lttng-ust: If048c739dd37147ffb2a54715c2101177d2df4f7 Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Change-Id: If9cbc7a7cd6cb957134bf3a2e284ab99ef20e93b ---