<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Ravindra,<br>
</p>
<div class="moz-cite-prefix">On 2019-03-27 2:49 p.m., Ravindra Kumar
Meena wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEWVvOTtN_sckmpsXn6w4JkfFo4HYcta_YzwnfBhmZt_OeUJtA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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="m_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="m_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"
cite="mid:CAEWVvOTtN_sckmpsXn6w4JkfFo4HYcta_YzwnfBhmZt_OeUJtA@mail.gmail.com">
<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="m_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="m_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="moz-txt-link-freetext" href="https://lttng.org/docs/v2.10/#doc-sending-trace-data-over-the-network">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"
cite="mid:CAEWVvOTtN_sckmpsXn6w4JkfFo4HYcta_YzwnfBhmZt_OeUJtA@mail.gmail.com">
<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="m_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>
</body>
</html>