Configured metadata data channel not listed for UST domain
I noticed this for LTTng 2.7 and 2.6.
After configuring the metadata channel for UST, the metadata channel is not listed when listing the session. By the way, it works for the kernel domain.
lttng create my
lttng enable-channel metadata -u -s my --subbuf-size 65536
lttng list my
Tracing session my: [inactive]
Trace path: /home/user/lttng-traces/my-20160127-105230
=== Domain: UST global ===
Buffer type: per UID
Updated by Jonathan Rajotte Julien about 4 years ago
From the fix of bug #855:
Fix: Don't report an error when listing a session with no channels The LTTng sessiond daemon reports an error when the list_channel command is invoked on a session which only has a metadata channel. The error lies in assuming that a session which has an enabled domains also has (user-visible) channels. *The metadata channel should be listed in a future fix.* Fixes #855 Signed-off-by: Jérémie Galarneau <firstname.lastname@example.org>
Looks like there was no follow-up on the listing part.