<div dir="ltr">Hello<div>I installed lttng on my ubuntu, and tried the "getting Started".</div><div><br></div><div><br></div><div>I ran the helloWorld, and then </div><div><div>$ lttng list --userspace</div><div>Error: Unable to list UST events: No session daemon is available</div><div>Error: Command error</div></div><div><br></div><div>Waited a minute and retried, and now the output was as expected.</div><div><div>$ lttng list --userspace</div><div>UST events:</div><div>-------------</div><div><br></div><div>PID: 17386 - Name: ./hello</div><div>      lttng_ust_tracelog:TRACE_DEBUG (loglevel: TRACE_DEBUG (14)) (type: tracepoint)</div><div>      < SNIP ></div><div>      hello_world:my_first_tracepoint (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)</div></div><div><br></div><div><b>*Is it normal behavior?</b></div><div><br></div><div><br></div><div>Then,</div><div><div>$ lttng create</div><div>Session auto-20160817-132123 created.</div><div>Traces will be written in /home/noam/lttng-traces/auto-20160817-132123</div><div>noam@noam-nuc:~/tmp/lttng$ lttng enable-event --userspace hello_world:my_first_tracepoint</div><div>Error: Event hello_world:my_first_tracepoint: UST create channel failed (channel channel0, session auto-20160817-132123)</div></div><div><br></div><div>How do I solve it?</div><div>---------------------</div><div>system properties:</div><div><br></div><div><div>noam@noam-nuc:~$ ps -ef | grep lttng</div><div>noam     17410 17398  0 13:18 pts/3    00:00:00 lttng-sessiond -vvv</div><div>noam     17411 17410  0 13:18 pts/3    00:00:00 lttng-runas    -vvv</div><div>noam     17442 17410  0 13:21 pts/3    00:00:00 lttng-consumerd  -u --consumerd-cmd-sock /home/noam/.lttng/ustconsumerd64/command --consumerd-err-sock /home/noam/.lttng/ustconsumerd64/error --group tracing</div><div>noam     17444 17442  0 13:21 pts/3    00:00:00 lttng-runas      -u --consumerd-cmd-sock /home/noam/.lttng/ustconsumerd64/command --consumerd-err-sock /home/noam/.lttng/ustconsumerd64/error --group tracing</div><div>noam     17480 17467  0 13:22 pts/7    00:00:00 grep --color=auto lttng</div><div>noam@noam-nuc:~$ lsb_release -a</div><div>No LSB modules are available.</div><div>Distributor ID:<span class="" style="white-space:pre">    </span>Ubuntu</div><div>Description:<span class="" style="white-space:pre"> </span>Ubuntu 16.04.1 LTS</div><div>Release:<span class="" style="white-space:pre"> </span>16.04</div><div>Codename:<span class="" style="white-space:pre">     </span>xenial</div></div><div><br></div><div><br></div><div>Installed lttng using:</div><div>sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev<br></div><div><br></div><div><br></div><div><div>$ lttng --version</div><div>lttng (LTTng Trace Control) 2.7.1 - Herbe à Détourne</div></div><div><br></div><div><br></div></div>