<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><span id="zwchr" data-marker="__DIVIDER__">----- On Jun 30, 2015, at 8:08 PM, jamie explorer <jamieexplorer@gmail.com> wrote:<br></span><div data-marker="__QUOTED_TEXT__"><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">Hi lttng-dev,<br><div>sorry for asking basic questions.</div><div>Can you guys point me to any documentation which has this info. <a href="http://lttng.org" target="_blank">lttng.org</a> documentation doesnt have info about this.</div><br><div><div style="font-size:12.8000001907349px">How does the app register to use lttng?</div></div></div></blockquote><div>It awaits on a futex in a shared memory area, and then connects to the session<br></div><div>daemon through a unix socket.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></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"><div><div style="font-size:12.8000001907349px">how do sessiond, app and lttng-ust interact? is there any socket from every app to sessiond?</div></div></div></blockquote><div>Through unix sockets. Yes, there are two unix sockets between each instrumented<br></div><div>application and each session daemon. One for commands (sent by session daemon,<br></div><div>reply received from application), the other for notifications (send by app, reply received<br data-mce-bogus="1"></div><div>by session daemon).<br data-mce-bogus="1"></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"><div><div style="font-size:12.8000001907349px">How is the app modified when instrumented using lttng? are there any threads added? </div></div></div></blockquote><div>Yes, 2 threads are added. One interacts with root sessiond (if there is one<br></div><div>active), the other with per-user sessiond (if one is active). If no sessiond is<br data-mce-bogus="1"></div><div>active, those threads simply wait on futexes.<br data-mce-bogus="1"></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"><div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Are there any powerful tools for analysis on collected traces.</span></div></div></div></blockquote><div>Trace Compass (Eclipse UI)<br></div><div>lttng-analyses<br data-mce-bogus="1"></div><div>lttngtop<br data-mce-bogus="1"></div><div>and of course babeltrace for the event-by-event text output.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Best regards,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Mathieu<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></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"><div><div style="font-size:12.8000001907349px"><br></div></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px">/Jam</div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 10:03 AM, jamie explorer <span dir="ltr"><<a href="mailto:jamieexplorer@gmail.com" target="_blank">jamieexplorer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><div>I have just started using lttng and still looking at documentation.</div><div>Can you help me with some info.</div><br><div>How does the app register to use lttng?</div><div>how do sessiond, app and lttng-ust interact? is there any socket from every app to sessiond?</div><div>How is the app modified when instrumented using lttng? are there any threads added?</div><div>when lttng instrumentation is linked along with app</div><div>Are there any powerful tools for analysis on collected traces.</div><br><div>/Jam </div></div></blockquote></div><br></div><br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote></div><br><div data-marker="__SIG_POST__">-- <br></div><div>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com</div></div></body></html>