<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
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;}
span.timestamp
{mso-style-name:timestamp;}
span.hyperlink-whois
{mso-style-name:hyperlink-whois;}
.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><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">I'm trying to use LTTng to trace Linux events on a Linux distro called YOCTO.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">Using the following commands, I do not get any kernel events in the LTTng trace<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">“<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">lttng create my-kernel-session --output=/tmp/my-kernel-trace<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">lttng enable-channel test --kernel --subbuf-size=10000000<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">lttng enable-event --kernel --all -c test<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">lttng add-context -k -t vpid -t vtid -t procname<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">lttng start<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">“<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">The resulting trace is empty.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">No matter what I try, I can’t seem to get any kernel events thorough to LTTng.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">Using v2.8.8.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">Any ideas?<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">Thanks in advance.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:-5.25pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB">Best Regards,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:14.5pt;font-family:"Arial",sans-serif;color:#58595B;text-transform:uppercase;mso-fareast-language:EN-GB">alin stanciu</span></b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB">Assistant Software Team Manager</span><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"><br>
<br>
T: +44(0)1803.546.306 | M: 07518.071.507<br>
<a href="mailto:Alin.Stanciu@spirent.com"><span style="color:blue">Alin.Stanciu@spirent.com</span></a> | <a href="http://www.spirent.com/"><span style="color:blue">www.spirent.com</span></a><br>
Aspen Way, Yalberton Industrial Estate, Paignton, U.K. TQ47QR<o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://www.linkedin.com/company/spirent-communications/" target="_blank"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="29" height="28" style="width:.302in;height:.2916in" id="Picture_x0020_1" src="cid:image001.gif@01D51CBE.80CB78C0" alt="Spirent"></span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"> </span><a href="https://twitter.com/intent/user?screen_name=Spirent" target="_blank"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="33" height="28" style="width:.3437in;height:.2916in" id="Picture_x0020_2" src="cid:image002.gif@01D51CBE.80CB78C0" alt="Spirent"></span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"> </span><a href="https://www.youtube.com/user/spirentvideos" target="_blank"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="32" height="28" style="width:.3333in;height:.2916in" id="Picture_x0020_3" src="cid:image003.gif@01D51CBE.80CB78C0" alt="Spirent"></span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"> </span><a href="https://www.facebook.com/spirent" target="_blank"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="29" height="28" style="width:.302in;height:.2916in" id="Picture_x0020_4" src="cid:image004.gif@01D51CBE.80CB78C0" alt="Spirent"></span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"><br>
</span><a href="http://www.spirent.com/" target="_blank"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="185" height="96" style="width:1.927in;height:1.0in" id="Picture_x0020_5" src="cid:image005.gif@01D51CBE.80CB78C0" alt="Spirent"></span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB">Spirent Communications e-mail confidentiality.</span></b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#58595B;mso-fareast-language:EN-GB">This email and the information contained therein may contain private, confidential or privileged material solely meant for the intended recipient. If
you are not the intended recipient review, copying or distribution is forbidden. Further, if you are not the intended recipient, please contact the sender immediately and permanently delete this email and any copies or attachments. </span><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>