Error after configuring UST metadata channel
I tried to configure the metadata channel for UST. After that I get an error when listing the session.
Could someone please verify this? See below for the commands I used and the error message.
This problem happens also with LTTng Tools 2.6 RC1.
Many thanks in advance!
Session auto-20141020-141307 created.
Traces will be written in /home/bernd/lttng-traces/auto-20141020-141307
lttng enable-channel --subbuf-size 8192 -u metadata
UST channel metadata enabled for session auto-20141020-141307
lttng list auto-20141020-141307
Tracing session auto-20141020-141307: [inactive]
Trace path: /home/bernd/lttng-traces/auto-20141020-141307
=== Domain: UST global ===
Buffer type: per UID
Error: UST channel not found
Error: Command error
Updated by Christian Babeux almost 6 years ago
This bug seems to be a current limitation of the "hackish" metadata channel. If you configure the metadata channel and don't have any other channels enabled, the list command will fail.
One workaround is to enable an event prior to the configuration of the metadata channel. The enabling of any event will create the default "channel0".
We will investigate a proper fix for this issue.