I have attached the logs from the lttng daemon. I could see errors like below.
Error: Error creating UST channel "channel0" on the consumer daemon My commands to create a session are: lttng create test lttng enable-channel --session test --userspace --tracefile-size 8388608 --subbuf-size 8388608 channel0 lttng enable-event --channel channel0 --userspace "service:*" lttng add-context -u -t vtid lttng add-context -u -t vpid lttng start Installed: apt-get -y install lttng-tools lttng-modules-dkms liblttng-ust0 liblttng-ust-dev Thanks. ________________________________ From: jeremie.galarn...@gmail.com <jeremie.galarn...@gmail.com> on behalf of Jérémie Galarneau <jeremie.galarn...@efficios.com> Sent: Sunday, April 9, 2017 2:06 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] LTTng on Docker On 7 April 2017 at 18:35, Jeffrey Chen <cp...@live.com> wrote: > Hi: > > > I am trying to have LTTng UST tracing inside a docker container. I wasn't > able to get the UST tracing working. LTTng would not write any UST trace > files in the directory, even though it printed it would. Has it been tested > before? Is there any known problem? Tracing inside a container (not Docker), where the LTTng daemons and the applications are running in the same container, is known to work as this is how most of the LTTng CI works. As far as Docker is concerned, I tested it a number of times and it worked. Can you provide the versions of LTTng and Docker you're using and the session daemon's logs (launching it with the -vvv option)? Thanks, Jérémie > > > $ lttng enable-channel --session test --userspace channel0 > > Error: Channel channel0: UST create channel failed (session ServiceFabric_0) > Error: Command error > > > Thanks. > > > > _______________________________________________ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev lttng-dev Info Page<https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev> lists.lttng.org To see the collection of prior postings to the list, visit the lttng-dev Archives. Using lttng-dev: To post a message to all the list members, send ... > -- Jérémie Galarneau EfficiOS Inc. http://www.efficios.com EfficiOS<http://www.efficios.com/> www.efficios.com At EfficiOS, our main goal is diminishing the amount of time our clients spend identifying faults. We also enable our clients' applications to scale on massive multi ...
output
Description: output
_______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev