]> code.ossystems Code Review - openembedded-core.git/commit
lttng-tools: Allow reconnect to relayd
authorHe Zhe <zhe.he@windriver.com>
Wed, 4 Jul 2018 10:17:56 +0000 (03:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Jul 2018 10:05:02 +0000 (11:05 +0100)
commit6f0079a6c3cc8926423cff3a927a78dcecede90d
treefa8140a2eead64b3076d4e4de1069ab95ca99a66
parentd1737f2dabac5e338061863c78a91b4c115365c7
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 <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-tools/0001-Allow-multiple-attempts-to-connect-to-relayd.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-tools_2.9.5.bb