<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><style><!--
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></div><div><span id="zwchr" data-marker="__DIVIDER__">----- On May 9, 2017, at 5:45 AM, Swati J <Swati.J@nectechnologies.in> wrote:<br></span></div><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 class="WordSection1"><p class="MsoNormal">Dear All, </p><p class="MsoNormal">I am using lttng tool to generate userspace traces but the userspace traces are not getting generated .</p><p class="MsoNormal">I have used the following commands:</p><p class="MsoNormal">[root@pcmk1 ~]# lttng create</p><p class="MsoNormal">Session auto-20170506-152941 created.</p><p class="MsoNormal">Traces will be written in /root/lttng-traces/auto-20170506-152941</p><p class="MsoNormal">[root@pcmk1 ~]# lttng enable-event --userspace --all All UST events are enabled in channel channel0</p><p class="MsoNormal">[root@pcmk1 ~]# lttng start Tracing started for session auto-20170506-152941</p><p class="MsoNormal">[root@pcmk1 ~]# systemctl start pcsd.service</p><p class="MsoNormal">[root@pcmk1 ~]# lttng stop</p><p class="MsoNormal">Waiting for data availability</p><p class="MsoNormal">Tracing stopped for session auto-20170506-152941</p><p class="MsoNormal">[root@pcmk1 ~]# lttng destroy</p><p class="MsoNormal">Session auto-20170506-152941 destroyed</p><p class="MsoNormal">I am not getting any error but also the file is not getting created
</p><p class="MsoNormal">I also tried to create userspace traces by logging-in via <b>
user</b> rather than root but there is no difference .</p><p class="MsoNormal">If anyone has any alternative approach or any suggestion please let me know .</p></div></blockquote><div>Is the pcsd daemon instrumented (lttng-ust tracepoints added to its source code) ?</div><div><br data-mce-bogus="1"></div><div>You can use "lttng list -u" while the daemon runs to see if the tracepoints are visible.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks,<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><div><br data-mce-bogus="1"></div><div><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 class="WordSection1"><p class="MsoNormal">Regards,</p><p class="MsoNormal">Swati J </p></div><br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote></div><div><br></div><div data-marker="__SIG_POST__">-- <br></div><div>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com</div></div></body></html>