<div dir="ltr"><div>Hi developers,</div><div><br></div>Thanks to all for the sharing information. It would help me a lot in the completion of the project at my university.<div><br></div><div>--Ravindra Kumar Meena</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 29, 2019 at 8:34 PM Geneviève Bastien <<a href="mailto:gbastien@versatic.net">gbastien@versatic.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi Ravindra,<br>
</p>
<div class="gmail-m_651565092694176642moz-cite-prefix">On 2019-03-27 2:49 p.m., Ravindra Kumar
Meena wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_651565092694176642m_7752166956455312320gmail-m_6403026334017903746divtagdefaultwrapper" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:12pt"><font color="#ff0000">> So
you have a user space application that generates a
trace. It is virtualized, and you want to open it
in trace compass to analyze it.</font></span></p>
</div>
</div>
</blockquote>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_651565092694176642m_7752166956455312320gmail-m_6403026334017903746divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px">Yes. That's
what I want to do but it has to in real-time manner.</p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
Trace Compass does not support live traces. It is made for
post-mortem analyses, so it works only on complete trace. We briefly
supported live traces a few years back, but that made the code much
more complicated, so this support was dropped. TraceCompass is not
made for trace monitoring!<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_651565092694176642m_7752166956455312320gmail-m_6403026334017903746divtagdefaultwrapper" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px"><font color="#ff0000">> I would like to know if there
is a way to transfer CTF to Trace Compass in a
real-time manner using TCP/UDP.</font></p>
<p style="color:rgb(0,0,0);margin-top:0px;margin-bottom:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px"><font color="#ff0000">>Would scp work? Just asking.</font></p>
</div>
</div>
</blockquote>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_651565092694176642m_7752166956455312320gmail-m_6403026334017903746divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px">I am
supposed to transfer it through only TCP/UDP.</p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p>LTTng does support relaying the data over the network (see
<a class="gmail-m_651565092694176642moz-txt-link-freetext" href="https://lttng.org/docs/v2.10/#doc-sending-trace-data-over-the-network" target="_blank">https://lttng.org/docs/v2.10/#doc-sending-trace-data-over-the-network</a>).
But Trace Compass does not open traces that are not terminated.
The 2.11 version (not yet released) and master also support
session rotation, so you can have traces in chunks of say 1
minutes and whenever a chunk is closed, it is ready to be opened
by Trace Compass. This is as close to live trace analysis as you
can get. <br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_651565092694176642m_7752166956455312320gmail-m_6403026334017903746divtagdefaultwrapper" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px"><font color="#ff0000">>How can I convert CTF Trace Data
to LTTng? Since TraceCompass already understands
LTTng Trace Data.</font></p>
<p style="margin-top:0px;margin-bottom:0px"><font color="#ff0000"><br>
</font></p>
<p style="margin-top:0px;margin-bottom:0px"><font color="#ff0000">>The CTF trace should be openable
in Trace Compass. You won't have as many pretty
graphs and whatnot, but you can get some basic
analyses done with searching and filters. If you
want some more advanced analyses, you can code an
XML analysis, or use any language you want and parse
it to make a LAMI report. Finally you can make your
own analysis (and even commit it to the incubator!
😉 😉 ).</font></p>
<p style="color:rgb(0,0,0);margin-top:0px;margin-bottom:0px"><br>
</p>
</div>
</div>
</blockquote>
<div> ><span style="background-color:transparent;color:rgb(0,0,0);font-family:Arial;font-size:12pt;white-space:pre-wrap">The information that I want to analyze and display information includes CPU usage, IRQ analysis(IRQ Statistics, IRQ Table, IRQ vs Count, IRQ vs Time), Linux Kernel(Control Flow, Resources)</span></div>
</div>
</div>
</blockquote>
<p>With an LTTng kernel trace, you can get all that. Add a UST trace
to it and you can correlate both traces together.</p>
<p>Cheers,</p>
<p>Geneviève<br>
</p>
<br>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="4"><b>Ravindra Kumar Meena</b></font>,<div><span style="color:rgb(102,102,102)">B. Tech. Computer Science and Engineering,<br></span></div><div><span style="color:rgb(102,102,102)"><a href="https://www.iitism.ac.in/" style="color:rgb(17,85,204)" target="_blank">Indian Institute of Technology (Indian School of Mines)</a>, Dhanbad</span></div></div></div></div></div>