<div dir="ltr">Hi,<div> I'm using LTTng 2.9.4 version of lttng-tools, lttng-modules, and lttng-ust. I'm doing tracing in Xilinx Zynq ZC706 evaluation kit.</div><div>the sequence of commands used for tracing:</div><div>Mode:</div><div>live mode.</div><div>For relay daemon:</div><div>lttng-relayd -L tcp://127.0.0.1:5344--output=/tmp/lttnglogs/</div><div>Session commds:</div><div>1) lttng create my-session --live --set-url=net://<a href="http://127.0.0.1">127.0.0.1</a></div><div>2) lttng enable-channel --kernel --subbuf-size=131072 --num-subbuf=8 channel0</div><div>3) lttng enable-channel -u --read-timer=2000000 channel0</div><div>4) lttng enable-event --kernel sched_process_fork,sched_process_exit,irq_handler_entry,irq_handler_exit,sched_switch,sched_waking -c channel0 --session=my-session</div><div>5) lttng enable-event -u kernelprofiler:kernelprofiler_task_drop -c channel0 --session=mysession</div><div>6) lttng start</div><div>7) lttng stop</div><div>8) lttng destroy</div><div><br></div><div>Here my application has a tracepoint of "<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">kernelprofiler:kernelprofiler_task_drop" event.</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks,</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">T SAI KIRAN.</span></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 30, 2018 at 9:31 PM, Mathieu Desnoyers <span dir="ltr"><<a href="mailto:mathieu.desnoyers@efficios.com" target="_blank">mathieu.desnoyers@efficios.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Also, please add the lttng-dev mailing list in CC, as this is the appropriate forum for this<br></div><div>type of question.<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Mathieu<br></div><div><div class="h5"><div><br></div><div><span id="m_4077368216174112840zwchr">----- On Jul 30, 2018, at 12:00 PM, Mathieu Desnoyers <<a href="mailto:mathieu.desnoyers@efficios.com" target="_blank">mathieu.desnoyers@efficios.<wbr>com</a>> wrote:<br></span></div><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Please provide the versions of lttng-tools, lttng-modules and lttng-ust you are using.<br></div><br><div>Also, please provide the exact sequence of commands you use to control tracing so we<br></div><div>can try it out on our end.<br></div><br><div>Thanks,<br></div><br><div>Mathieu<br></div><br><div><span id="m_4077368216174112840zwchr">----- On Jul 30, 2018, at 11:46 AM, sai kiran <<a href="mailto:sai9951775108@gmail.com" target="_blank">sai9951775108@gmail.com</a>> wrote:<br></span></div><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><div dir="ltr">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Hi,<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">As I’m tracing both domain (kernel and user space) using LTTng with following configuration,<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Mode:<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>Live </b>mode.<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Kernel domain configuration:<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Sub buffer size = <span style="font-size:10pt;font-family:"Courier New";color:black">131072,</span><span style="font-size:12pt;font-family:"Courier New""><span></span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Number of sub buffers = 8,<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Switch-timer = 0,<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Reader-domain = 2000000.<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">User domain configuration:<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Default sub buffer size and sub buffer count,<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Switch-timer = 0,<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Reader-domain = 2000000.<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">After LTTng session is destroyed, no stream is “<b>Hung up</b>”. Continuously I’m getting data from “<b>relay daemon</b>”. I’ve killed consumer daemon, even though tracing data coming from relay daemon. Please help me. One more thing application is running infinitely.<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Thanks & Regards,<span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">T Sai Kiran<span></span></p>
</div><br></blockquote></div><br><div>-- <br></div><div>Mathieu Desnoyers<br>EfficiOS Inc.<br><a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a></div></div><br></blockquote></div><div><br></div><div>-- <br></div><div>Mathieu Desnoyers<br>EfficiOS Inc.<br><a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a></div></div></div></div></div></blockquote></div><br></div>