<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Perhaps someone should open a bug report to track this, or submit a patch ?<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Mathieu<br></div><div><br></div><div><br></div><hr id="zwchr"><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;"><b>From: </b>"Jérémie Galarneau" <jeremie.galarneau@efficios.com><br><b>To: </b>"Daniel Thibault" <Daniel.Thibault@drdc-rddc.gc.ca><br><b>Cc: </b>lttng-dev@lists.lttng.org<br><b>Sent: </b>Tuesday, November 5, 2013 8:25:12 PM<br><b>Subject: </b>Re: [lttng-dev] [PATCH lttng-tools] Fix: Some corrections to the lttng man page<br><div><br></div><div dir="ltr"><br><div class="gmail_extra"><br><div><br></div><div class="gmail_quote">On Tue, Nov 5, 2013 at 4:34 PM, Thibault, Daniel <span dir="ltr"><<a href="mailto:Daniel.Thibault@drdc-rddc.gc.ca" target="_blank">Daniel.Thibault@drdc-rddc.gc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="FR-CA">
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-CA">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-CA"> <a href="mailto:jeremie.galarneau@gmail.com" target="_blank">jeremie.galarneau@gmail.com</a><br>

<b>Envoyé :</b> 5 novembre 2013 15:51<br>
<br>
<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<div><div class="im">
<p class="MsoNormal"><span lang="EN-CA">On Thu, Oct 24, 2013 at 12:09 PM, Thibault, Daniel <</span><a href="mailto:Daniel.Thibault@drdc-rddc.gc.ca" target="_blank"><span lang="EN-CA">Daniel.Thibault@drdc-rddc.gc.ca</span></a><span lang="EN-CA">> wrote:<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>

</div><div>
<div><div class="im">
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">-----Message d'origine-----<br>
Date: Wed, 23 Oct 2013 12:08:47 -0400<br>
From: J?r?mie Galarneau <<a href="mailto:jeremie.galarneau@efficios.com" target="_blank">jeremie.galarneau@efficios.com</a>><br>
<br>
> diff --git a/doc/man/lttng.1 b/doc/man/lttng.1<br>
> [...]<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">> +All user-space applications instrumented with lttng-ust(3) will<br>
> automatically register to the session daemon. This feature gives you the<br>
> ability to list available traceable applications and tracepoints on a per user<br>
> basis. (See \fBlist\fP command).<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></p>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:11.55pt">
   Is this a statement of intent?  LTTng 2.3.0's list command identifies user-space events by trace provider name, event name, and process ID, but not by user ID (in fact it doesn't even yet filter the kernel events out when one asks for 'list -u session';
 see bug #654).  And there is as yet no way to filter the 'lttng list' output by user ID (an optional argument for the -u option could do the trick).<span style="color:#1f497d"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
</blockquote>
</div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-CA">   Of course, listing available tracepoints is automatically per-user when using a local session daemon.  </span>But if you're a member of the 'tracing' group, you'll deal exclusively with
 the root daemon and won't have that choice.<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></p>
</blockquote>
</div><div class="im">
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-CA">> </span><span lang="EN-CA">I didn't change the meaning of the original sentence. It just means that "lttng list" will output the events registered to the user's corresponding session daemon.<span style="color:#1f497d"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></span></p>

<p class="MsoNormal"><span style="color:#1f497d" lang="EN-CA">></span><span lang="EN-CA"> Perhaps you can suggest a better phrasing?<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span style="color:#1f497d">></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span> <span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></p>
<p class="MsoNormal"><span style="color:#1f497d">> </span>Jérémie<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></p>
<p class="MsoNormal"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span> <span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></p>
</div><p class="MsoNormal"><span lang="EN-CA">   How about this?<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span lang="EN-CA"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span> <span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span lang="EN-CA">Each user-space application instrumented with lttng-ust(3) will automatically
<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span lang="EN-CA">register with the root session daemon and its user session daemon. This allows
<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span lang="EN-CA">each daemon to list the available traceable applications and tracepoints at
<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span lang="EN-CA">any given moment (See the \fBlist\fP command).<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span lang="EN-CA"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span> </span></p></div></div></div></div></blockquote><div><br></div><div>Looks good to me.</div><div><br></div><div>Cheers,</div><div>Jérémie</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR-CA"><div><div><div><p class="MsoNormal"><span lang="EN-CA"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span lang="EN-CA">(There is no need to explain further the diff between the two daemons since the preceding paragraph in the man page already talks about co-existing session daemons)<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<div class="im">
<p class="MsoNormal"><span lang="EN-CA"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span> <span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Consolas;color:#1f497d">Daniel U. Thibault<br>
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)<br>
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)<br>
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)<br>
2459 route de la Bravoure<br>
Québec QC  G3J 1X5<br>
CANADA<br>
Vox</span><span style="font-size:10.5pt;font-family:Consolas;color:#1f497d"> </span><span style="font-size:11.0pt;font-family:Consolas;color:#1f497d">: <a href="tel:%28418%29%20844-4000%20x4245" target="_blank">(418) 844-4000 x4245</a><br>

Fax</span><span style="font-size:10.5pt;font-family:Consolas;color:#1f497d"> </span><span style="font-size:11.0pt;font-family:Consolas;color:#1f497d">: <a href="tel:%28418%29%20844-4538" target="_blank">(418) 844-4538</a><br>

</span><span style="font-size:11.0pt;font-family:Consolas;color:#1f497d">NAC : </span>
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-CA"><a href="http://www.travelgis.com/map.asp?addr=918V%20QSDJ" target="_blank"><span style="font-size:10.0pt;font-family:"Courier New"" lang="FR-CA">918V QSDJ</span></a></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-CA">
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><</span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"><span style="font-size:10.0pt;font-family:"Courier New";color:blue"><a href="http://www.travelgis.com/map.asp?addr=918V%20QSDJ" target="_blank">http://www.travelgis.com/map.asp?addr=918V%20QSDJ</a></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><br>

</span><span style="font-size:11.0pt;font-family:Consolas;color:#1f497d">Gouvernement du Canada | Government of Canada<br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><</span><span style="font-size:10.0pt;font-family:"Courier New";color:blue" lang="EN-CA"><a href="http://www.valcartier.drdc-rddc.gc.ca/" target="_blank"><span lang="FR-CA">http://www.valcartier.drdc-rddc.gc.ca/</span></a></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">></span><span style="font-size:10.5pt;font-family:Consolas;color:#1f497d"><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"></span></span></p>

</div></div>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jérémie Galarneau<br>EfficiOS Inc.<br><a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a>
</div></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><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com<span name="x"></span><br></div></div></body></html>