From 6f0079a6c3cc8926423cff3a927a78dcecede90d Mon Sep 17 00:00:00 2001 From: He Zhe Date: Wed, 4 Jul 2018 03:17:56 -0700 Subject: lttng-tools: Allow reconnect to relayd If relayd is started after connection attempt from consumerd it will leave the session in disconnected state and causes the following inconvenience. This is covered by an upstream feature, see https://bugs.lttng.org/issues/883. Before it's done, this patches allows users to reconnect to relayd. root@localhost:~# lttng enable-event --userspace --all Error: Events: UST create channel failed (channel channel0, session trace_session) root@localhost:~# lttng-relayd -b Warning: No tracing group detected root@localhost:~# lttng enable-event --userspace --all Error: Events: UST create channel failed (channel channel0, session trace_session) Signed-off-by: He Zhe Signed-off-by: Richard Purdie --- meta/recipes-kernel/lttng/lttng-tools_2.9.5.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-kernel/lttng/lttng-tools_2.9.5.bb') diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.9.5.bb b/meta/recipes-kernel/lttng/lttng-tools_2.9.5.bb index 93626dd4b5..e4969c3080 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.9.5.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.9.5.bb @@ -30,6 +30,7 @@ PACKAGECONFIG_remove_riscv64 = "lttng-ust" SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \ file://x32.patch \ file://run-ptest \ + file://0001-Allow-multiple-attempts-to-connect-to-relayd.patch \ " SRC_URI[md5sum] = "051224eb991aee07f8721ff1877d0b96" -- cgit 1.2.3-korg