<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";
mso-fareast-language:FR-CA;}
.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 90.0pt 72.0pt 90.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="FR-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> jeremie.galarneau@gmail.com [mailto:jeremie.galarneau@gmail.com]
<b>De la part de</b> Jérémie Galarneau<br>
<b>Envoyé :</b> 10 avril 2013 17:53<br>
<br>
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-CA">Certainly seems worthwhile to me although I never heard about debugfs being phased out.
</span>Could you clarify that point?<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Jérémie<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D">> </span><span lang="EN-CA">On Tue, Apr 9, 2013 at 11:21 AM, 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:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D">></span><span lang="EN-CA"> <span style="color:#1F497D">
</span>Even if the debugfs tracing facility is destined for eventual withdrawal from the Linux kernel, it may be of interest to some to recover older traces generated in this way -if only in order to be able to process them in the same way as CTF text dumps.
Conversion to the babeltrace text format should be fairly straightforward; conversion to CTF would be trickier.<br>
<br>
<span style="color:#1F497D"> Pure speculation on my part, based on the observation that the debugfs service seems less efficient than lttng. The sentence is meant to be read “this may be of interest even if debugfs turns out to be destined to be phased out”.
(I’d like to know whether the debugfs facility is as signal-, thread-, and interrupt-safe as lttng)<o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"> This said, do you know more about how this facility came about? LTTng 1 used debugfs for its trace control as well, so which came first? Debugfs or lttng 1? How come the tracepoint and syscall
tracing achievable with debugfs is not a perfect match with lttng’s (re lttng 2)? (lttng traces the kvm, lttng_statedump, and snd_soc subsystems but debugfs does not; conversely, lttng misses the drm, fs, mce, raw_syscalls, vfs, vsyscall, and xen subsystems;
on the syscall side, lttng captures sys_clone, sys_execve and sys_unknown (which debugfs misses), while I haven’t found debugfs syscalls that lttng misses (but I can’t rule out that possibility))<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>
</span>Daniel U. Thibault<br>
R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)<br>
Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)<br>
Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)<br>
2459 route de la Bravoure<br>
Québec, QC G3J 1X5<br>
CANADA<br>
Vox : <a href="tel:%28418%29%20844-4000%20x4245">(418) 844-4000 x4245</a><br>
Fax : <a href="tel:%28418%29%20844-4538">(418) 844-4538</a><br>
NAC : 918V QSDJ <<a href="http://www.travelgis.com/map.asp?addr=918V%20QSDJ" target="_blank">http://www.travelgis.com/map.asp?addr=918V%20QSDJ</a>><br>
Gouvernement du Canada / Government of Canada<br>
<<a href="http://www.valcartier.drdc-rddc.gc.ca/" target="_blank">http://www.valcartier.drdc-rddc.gc.ca/</a><span style="color:#1F497D">></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>