All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Question related to LTTng
       [not found] <CAEWVvOTEJjw3kYfPfrcW68Ux6fy1g5utoHBpy=o++d71rxddbg@mail.gmail.com>
@ 2019-03-27 14:20 ` Jonathan Rajotte-Julien
  2019-03-27 17:03 ` Genevieve Bastien
       [not found] ` <f0d5b7b4-dacc-ca93-10d5-cc3f7c88d320@versatic.net>
  2 siblings, 0 replies; 9+ messages in thread
From: Jonathan Rajotte-Julien @ 2019-03-27 14:20 UTC (permalink / raw)
  To: Ravindra Kumar Meena; +Cc: lttng-dev

Hi Ravindra,

On Wed, Mar 27, 2019 at 04:53:23PM +0530, Ravindra Kumar Meena wrote:
> Hi Developers,
> 
> I am working on a project where I want Trace Compass to analyze and display
> some information. I wanna ask a few things:

This mailing list is focused on lttng/babeltrace/urcu. If you have question
regarding Tracecompass please use their mailing list. [1]

[1] https://accounts.eclipse.org/mailing-list/tracecompass-dev

> 
> Q1. Is there any way to extend Trace Compass to work trace data in CTF
> format?

AFAIK, Tracecompass have a CTF reader and have multiple extension point to
analyze the data.

> 
> Q2. How trace data(CTF) can be converted to Linux kernel trace data(LTTng)
> which Trace Compass already understands?

Linux kernel trace data are understood based on a model of the kernel state
transition. A ctf trace could be translated based on the model that
Tracecompass uses.

Cheers

-- 
Jonathan Rajotte-Julien
EfficiOS

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Question related to LTTng
       [not found] <CAEWVvOTEJjw3kYfPfrcW68Ux6fy1g5utoHBpy=o++d71rxddbg@mail.gmail.com>
  2019-03-27 14:20 ` Question related to LTTng Jonathan Rajotte-Julien
@ 2019-03-27 17:03 ` Genevieve Bastien
       [not found] ` <f0d5b7b4-dacc-ca93-10d5-cc3f7c88d320@versatic.net>
  2 siblings, 0 replies; 9+ messages in thread
From: Genevieve Bastien @ 2019-03-27 17:03 UTC (permalink / raw)
  To: lttng-dev, Ravindra Kumar Meena, tracecompass-dev

Hi Ravindra,

I'm sending the reply also to the tracecompass mailing list, where it is
more on topic.

On 2019-03-27 7:23 a.m., Ravindra Kumar Meena wrote:
> Hi Developers,
>
> I am working on a project where I want Trace Compass to analyze and
> display some information. I wanna ask a few things:
>
> Q1. Is there any way to extend Trace Compass to work trace data in CTF
> format?

From what I understand, you have a CTF trace and would like to implement
a specific trace type from it, for example, to be able to add custom
analyses for this specific type. Right?

You can read the developer documentation on how to add new trace types
[1]. You may want to take a look at the LttngKernelTrace class for an
example of such extension of CTF Trace [2]. There are a few more around
the code, looking at the class hierarchy for CtfTmfTrace will show you
which ones.

>
> Q2. How trace data(CTF) can be converted to Linux kernel trace
> data(LTTng) which Trace Compass already understands?
Kernel traces need to implement IKernelTrace. This interface provides an
event layout (IKernelAnalysisEventLayout) which will define which events
in the trace correspond to common "concepts" of the kernel, like
sched_switches, syscalls, irqs, etc. That's how any kernel trace format
like ftrace, perf and lttng can use common analyses made for kernel. You
would need to implement this event layout for your own trace types.


[1]
http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.dev/Implementing-a-New-Trace-Type.html#Implementing_a_New_Trace_Type

[2]
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/lttng2/kernel/core/trace/LttngKernelTrace.java


Cheers,

Geneviève




_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [tracecompass-dev]  Question related to LTTng
       [not found] ` <f0d5b7b4-dacc-ca93-10d5-cc3f7c88d320@versatic.net>
@ 2019-03-27 17:31   ` Matthew Khouzam
       [not found]   ` <BN8PR15MB3090BB0C0E9FC7D9865EF2369E580@BN8PR15MB3090.namprd15.prod.outlook.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Matthew Khouzam @ 2019-03-27 17:31 UTC (permalink / raw)
  To: lttng-dev, Ravindra Kumar Meena, tracecompass-dev


[-- Attachment #1.1: Type: text/plain, Size: 2628 bytes --]

Hi Ravindra,


could you please detail what you want to do, there is a decent chance trace compass supports that out of the box.


BR,

Matthew

________________________________
From: tracecompass-dev-bounces@eclipse.org <tracecompass-dev-bounces@eclipse.org> on behalf of Genevieve Bastien <gbastien@versatic.net>
Sent: Wednesday, March 27, 2019 1:03:08 PM
To: lttng-dev@lists.lttng.org; Ravindra Kumar Meena; tracecompass-dev@eclipse.org
Subject: Re: [tracecompass-dev] [lttng-dev] Question related to LTTng

Hi Ravindra,

I'm sending the reply also to the tracecompass mailing list, where it is
more on topic.

On 2019-03-27 7:23 a.m., Ravindra Kumar Meena wrote:
> Hi Developers,
>
> I am working on a project where I want Trace Compass to analyze and
> display some information. I wanna ask a few things:
>
> Q1. Is there any way to extend Trace Compass to work trace data in CTF
> format?

From what I understand, you have a CTF trace and would like to implement
a specific trace type from it, for example, to be able to add custom
analyses for this specific type. Right?

You can read the developer documentation on how to add new trace types
[1]. You may want to take a look at the LttngKernelTrace class for an
example of such extension of CTF Trace [2]. There are a few more around
the code, looking at the class hierarchy for CtfTmfTrace will show you
which ones.

>
> Q2. How trace data(CTF) can be converted to Linux kernel trace
> data(LTTng) which Trace Compass already understands?
Kernel traces need to implement IKernelTrace. This interface provides an
event layout (IKernelAnalysisEventLayout) which will define which events
in the trace correspond to common "concepts" of the kernel, like
sched_switches, syscalls, irqs, etc. That's how any kernel trace format
like ftrace, perf and lttng can use common analyses made for kernel. You
would need to implement this event layout for your own trace types.


[1]
http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.dev/Implementing-a-New-Trace-Type.html#Implementing_a_New_Trace_Type

[2]
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/lttng2/kernel/core/trace/LttngKernelTrace.java


Cheers,

Geneviève




_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tracecompass-dev

[-- Attachment #1.2: Type: text/html, Size: 4314 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [tracecompass-dev]  Question related to LTTng
       [not found]   ` <BN8PR15MB3090BB0C0E9FC7D9865EF2369E580@BN8PR15MB3090.namprd15.prod.outlook.com>
@ 2019-03-27 18:14     ` Ravindra Kumar Meena
       [not found]     ` <CAEWVvOT1EQ9aS3Ao5u-nypV2ZrsDyHHMh9fEguLDgG27w6=gRw@mail.gmail.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Ravindra Kumar Meena @ 2019-03-27 18:14 UTC (permalink / raw)
  To: Matthew Khouzam; +Cc: lttng-dev, tracecompass-dev


[-- Attachment #1.1: Type: text/plain, Size: 3663 bytes --]

Hi,

Thanks to all for suggestions. Let me describe the problem in more detail.

I have a QEMU(it is virtualization software like VMware etc.) instance
which is running some applications. The QEMU application can generate Trace
Data in CTF format which I want to transfer it to Trace Compass for
analyzing it.

I would like to know if there is a way to transfer CTF to Trace Compass in
a real-time manner using TCP/UDP.

and

How can I convert CTF Trace Data to LTTng? Since TraceCompass already
understands LTTng Trace Data.

P.S: I am a student working on Tracing project at my University.

Thanks

On Wed, Mar 27, 2019 at 11:01 PM Matthew Khouzam <
matthew.khouzam@ericsson.com> wrote:

> Hi Ravindra,
>
>
> could you please detail what you want to do, there is a decent chance
> trace compass supports that out of the box.
>
>
> BR,
>
> Matthew
> ------------------------------
> *From:* tracecompass-dev-bounces@eclipse.org <
> tracecompass-dev-bounces@eclipse.org> on behalf of Genevieve Bastien <
> gbastien@versatic.net>
> *Sent:* Wednesday, March 27, 2019 1:03:08 PM
> *To:* lttng-dev@lists.lttng.org; Ravindra Kumar Meena;
> tracecompass-dev@eclipse.org
> *Subject:* Re: [tracecompass-dev] [lttng-dev] Question related to LTTng
>
> Hi Ravindra,
>
> I'm sending the reply also to the tracecompass mailing list, where it is
> more on topic.
>
> On 2019-03-27 7:23 a.m., Ravindra Kumar Meena wrote:
> > Hi Developers,
> >
> > I am working on a project where I want Trace Compass to analyze and
> > display some information. I wanna ask a few things:
> >
> > Q1. Is there any way to extend Trace Compass to work trace data in CTF
> > format?
>
> From what I understand, you have a CTF trace and would like to implement
> a specific trace type from it, for example, to be able to add custom
> analyses for this specific type. Right?
>
> You can read the developer documentation on how to add new trace types
> [1]. You may want to take a look at the LttngKernelTrace class for an
> example of such extension of CTF Trace [2]. There are a few more around
> the code, looking at the class hierarchy for CtfTmfTrace will show you
> which ones.
>
> >
> > Q2. How trace data(CTF) can be converted to Linux kernel trace
> > data(LTTng) which Trace Compass already understands?
> Kernel traces need to implement IKernelTrace. This interface provides an
> event layout (IKernelAnalysisEventLayout) which will define which events
> in the trace correspond to common "concepts" of the kernel, like
> sched_switches, syscalls, irqs, etc. That's how any kernel trace format
> like ftrace, perf and lttng can use common analyses made for kernel. You
> would need to implement this event layout for your own trace types.
>
>
> [1]
>
> http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.dev/Implementing-a-New-Trace-Type.html#Implementing_a_New_Trace_Type
>
> [2]
>
> https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/lttng2/kernel/core/trace/LttngKernelTrace.java
>
>
> Cheers,
>
> Geneviève
>
>
>
>
> _______________________________________________
> tracecompass-dev mailing list
> tracecompass-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/tracecompass-dev
>


-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad

[-- Attachment #1.2: Type: text/html, Size: 6324 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [tracecompass-dev]  Question related to LTTng
       [not found]     ` <CAEWVvOT1EQ9aS3Ao5u-nypV2ZrsDyHHMh9fEguLDgG27w6=gRw@mail.gmail.com>
@ 2019-03-27 18:23       ` Matthew Khouzam
       [not found]       ` <BN8PR15MB30907BD062BC346E35C2B7E09E580@BN8PR15MB3090.namprd15.prod.outlook.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Matthew Khouzam @ 2019-03-27 18:23 UTC (permalink / raw)
  To: Ravindra Kumar Meena; +Cc: lttng-dev, tracecompass-dev


[-- Attachment #1.1: Type: text/plain, Size: 5414 bytes --]

Thanks that is much clearer, I think.


> I have a QEMU (it is virtualization software like VMware etc.) instance which is running some applications. The QEMU application can generate Trace Data in CTF format which I want to transfer it to Trace Compass for analyzing it.



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.


> I would like to know if there is a way to transfer CTF to Trace Compass in a real-time manner using TCP/UDP.


Would scp work? Just asking.


>How can I convert CTF Trace Data to LTTng? Since TraceCompass already understands LTTng Trace Data.


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! 😉 😉 ).


The important questions to ask in my opinion are :

  *   what are you looking to solve?
  *   what problem are you facing?


Once those questions are solved, we can move on to selecting the form of solution that is ideal for you.


Thanks for the interest,

Matthew.

________________________________
From: Ravindra Kumar Meena <rmeena840@gmail.com>
Sent: Wednesday, March 27, 2019 2:14:32 PM
To: Matthew Khouzam
Cc: lttng-dev@lists.lttng.org; tracecompass-dev@eclipse.org
Subject: Re: [tracecompass-dev] [lttng-dev] Question related to LTTng

Hi,

Thanks to all for suggestions. Let me describe the problem in more detail.

I have a QEMU(it is virtualization software like VMware etc.) instance which is running some applications. The QEMU application can generate Trace Data in CTF format which I want to transfer it to Trace Compass for analyzing it.

I would like to know if there is a way to transfer CTF to Trace Compass in a real-time manner using TCP/UDP.

and

How can I convert CTF Trace Data to LTTng? Since TraceCompass already understands LTTng Trace Data.

P.S: I am a student working on Tracing project at my University.

Thanks

On Wed, Mar 27, 2019 at 11:01 PM Matthew Khouzam <matthew.khouzam@ericsson.com<mailto:matthew.khouzam@ericsson.com>> wrote:

Hi Ravindra,


could you please detail what you want to do, there is a decent chance trace compass supports that out of the box.


BR,

Matthew

________________________________
From: tracecompass-dev-bounces@eclipse.org<mailto:tracecompass-dev-bounces@eclipse.org> <tracecompass-dev-bounces@eclipse.org<mailto:tracecompass-dev-bounces@eclipse.org>> on behalf of Genevieve Bastien <gbastien@versatic.net<mailto:gbastien@versatic.net>>
Sent: Wednesday, March 27, 2019 1:03:08 PM
To: lttng-dev@lists.lttng.org<mailto:lttng-dev@lists.lttng.org>; Ravindra Kumar Meena; tracecompass-dev@eclipse.org<mailto:tracecompass-dev@eclipse.org>
Subject: Re: [tracecompass-dev] [lttng-dev] Question related to LTTng

Hi Ravindra,

I'm sending the reply also to the tracecompass mailing list, where it is
more on topic.

On 2019-03-27 7:23 a.m., Ravindra Kumar Meena wrote:
> Hi Developers,
>
> I am working on a project where I want Trace Compass to analyze and
> display some information. I wanna ask a few things:
>
> Q1. Is there any way to extend Trace Compass to work trace data in CTF
> format?

From what I understand, you have a CTF trace and would like to implement
a specific trace type from it, for example, to be able to add custom
analyses for this specific type. Right?

You can read the developer documentation on how to add new trace types
[1]. You may want to take a look at the LttngKernelTrace class for an
example of such extension of CTF Trace [2]. There are a few more around
the code, looking at the class hierarchy for CtfTmfTrace will show you
which ones.

>
> Q2. How trace data(CTF) can be converted to Linux kernel trace
> data(LTTng) which Trace Compass already understands?
Kernel traces need to implement IKernelTrace. This interface provides an
event layout (IKernelAnalysisEventLayout) which will define which events
in the trace correspond to common "concepts" of the kernel, like
sched_switches, syscalls, irqs, etc. That's how any kernel trace format
like ftrace, perf and lttng can use common analyses made for kernel. You
would need to implement this event layout for your own trace types.


[1]
http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.dev/Implementing-a-New-Trace-Type.html#Implementing_a_New_Trace_Type

[2]
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/lttng2/kernel/core/trace/LttngKernelTrace.java


Cheers,

Geneviève




_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@eclipse.org<mailto:tracecompass-dev@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tracecompass-dev


--
Ravindra Kumar Meena,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)<https://www.iitism.ac.in/>, Dhanbad

[-- Attachment #1.2: Type: text/html, Size: 9713 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [tracecompass-dev]  Question related to LTTng
       [not found]       ` <BN8PR15MB30907BD062BC346E35C2B7E09E580@BN8PR15MB3090.namprd15.prod.outlook.com>
@ 2019-03-27 18:49         ` Ravindra Kumar Meena
       [not found]         ` <CAEWVvOTtN_sckmpsXn6w4JkfFo4HYcta_YzwnfBhmZt_OeUJtA@mail.gmail.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Ravindra Kumar Meena @ 2019-03-27 18:49 UTC (permalink / raw)
  To: Matthew Khouzam; +Cc: lttng-dev, tracecompass-dev


[-- Attachment #1.1: Type: text/plain, Size: 5685 bytes --]

>
> > 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.
>


> Yes. That's what I want to do but it has to in real-time manner.
>


> > I would like to know if there is a way to transfer CTF to Trace Compass
> in a real-time manner using TCP/UDP.
>
>
> >Would scp work? Just asking.
>


> I am supposed to transfer it through only TCP/UDP.
>


> >How can I convert CTF Trace Data to LTTng? Since TraceCompass already
> understands LTTng Trace Data.
>
>
> >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! 😉 😉 ).
>
>
>     >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)


> The important questions to ask in my opinion are :
>
>    - what are you looking to solve?
>    - what problem are you facing?
>
>
> Once those questions are solved, we can move on to selecting the form of
> solution that is ideal for you.
>
>
> Thanks for the interest,
>
> Matthew.
>
> ------------------------------
> *From:* Ravindra Kumar Meena <rmeena840@gmail.com>
> *Sent:* Wednesday, March 27, 2019 2:14:32 PM
> *To:* Matthew Khouzam
> *Cc:* lttng-dev@lists.lttng.org; tracecompass-dev@eclipse.org
> *Subject:* Re: [tracecompass-dev] [lttng-dev] Question related to LTTng
>
> Hi,
>
> Thanks to all for suggestions. Let me describe the problem in more detail.
>
> I have a QEMU(it is virtualization software like VMware etc.) instance
> which is running some applications. The QEMU application can generate Trace
> Data in CTF format which I want to transfer it to Trace Compass for
> analyzing it.
>
> I would like to know if there is a way to transfer CTF to Trace Compass in
> a real-time manner using TCP/UDP.
>
> and
>
> How can I convert CTF Trace Data to LTTng? Since TraceCompass already
> understands LTTng Trace Data.
>
> P.S: I am a student working on Tracing project at my University.
>
> Thanks
>
> On Wed, Mar 27, 2019 at 11:01 PM Matthew Khouzam <
> matthew.khouzam@ericsson.com> wrote:
>
> Hi Ravindra,
>
>
> could you please detail what you want to do, there is a decent chance
> trace compass supports that out of the box.
>
>
> BR,
>
> Matthew
> ------------------------------
> *From:* tracecompass-dev-bounces@eclipse.org <
> tracecompass-dev-bounces@eclipse.org> on behalf of Genevieve Bastien <
> gbastien@versatic.net>
> *Sent:* Wednesday, March 27, 2019 1:03:08 PM
> *To:* lttng-dev@lists.lttng.org; Ravindra Kumar Meena;
> tracecompass-dev@eclipse.org
> *Subject:* Re: [tracecompass-dev] [lttng-dev] Question related to LTTng
>
> Hi Ravindra,
>
> I'm sending the reply also to the tracecompass mailing list, where it is
> more on topic.
>
> On 2019-03-27 7:23 a.m., Ravindra Kumar Meena wrote:
> > Hi Developers,
> >
> > I am working on a project where I want Trace Compass to analyze and
> > display some information. I wanna ask a few things:
> >
> > Q1. Is there any way to extend Trace Compass to work trace data in CTF
> > format?
>
> From what I understand, you have a CTF trace and would like to implement
> a specific trace type from it, for example, to be able to add custom
> analyses for this specific type. Right?
>
> You can read the developer documentation on how to add new trace types
> [1]. You may want to take a look at the LttngKernelTrace class for an
> example of such extension of CTF Trace [2]. There are a few more around
> the code, looking at the class hierarchy for CtfTmfTrace will show you
> which ones.
>
> >
> > Q2. How trace data(CTF) can be converted to Linux kernel trace
> > data(LTTng) which Trace Compass already understands?
> Kernel traces need to implement IKernelTrace. This interface provides an
> event layout (IKernelAnalysisEventLayout) which will define which events
> in the trace correspond to common "concepts" of the kernel, like
> sched_switches, syscalls, irqs, etc. That's how any kernel trace format
> like ftrace, perf and lttng can use common analyses made for kernel. You
> would need to implement this event layout for your own trace types.
>
>
> [1]
>
> http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.dev/Implementing-a-New-Trace-Type.html#Implementing_a_New_Trace_Type
>
> [2]
>
> https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/lttng2/kernel/core/trace/LttngKernelTrace.java
>
>
> Cheers,
>
> Geneviève
>
>
>
>
> _______________________________________________
> tracecompass-dev mailing list
> tracecompass-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/tracecompass-dev
>
>
>
> --
> *Ravindra Kumar Meena*,
> B. Tech. Computer Science and Engineering,
> Indian Institute of Technology (Indian School of Mines)
> <https://www.iitism.ac.in/>, Dhanbad
>


-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad

[-- Attachment #1.2: Type: text/html, Size: 12969 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [tracecompass-dev] Question related to LTTng
       [not found]         ` <CAEWVvOTtN_sckmpsXn6w4JkfFo4HYcta_YzwnfBhmZt_OeUJtA@mail.gmail.com>
@ 2019-03-29 15:04           ` Geneviève Bastien
       [not found]           ` <3f170528-e3b4-4b37-b94b-5f8276abb53e@versatic.net>
  1 sibling, 0 replies; 9+ messages in thread
From: Geneviève Bastien @ 2019-03-29 15:04 UTC (permalink / raw)
  To: Ravindra Kumar Meena, Matthew Khouzam; +Cc: lttng-dev, tracecompass-dev


[-- Attachment #1.1: Type: text/plain, Size: 2137 bytes --]

Hi Ravindra,

On 2019-03-27 2:49 p.m., Ravindra Kumar Meena wrote:
>
>     > 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.
>
>   
>
>     Yes. That's what I want to do but it has to in real-time manner.
>
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!
>  
>
>     > I would like to know if there is a way to transfer CTF to Trace Compass in a real-time manner using TCP/UDP.
>
>
>     >Would scp work? Just asking.
>
>  
>
>     I am supposed to transfer it through only TCP/UDP.
>
LTTng does support relaying the data over the network (see https://lttng.org/docs/v2.10/#doc-sending-trace-data-over-the-network). 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.

>  
>
>     >How can I convert CTF Trace Data to LTTng? Since TraceCompass already understands LTTng Trace Data.
>
>
>     >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! 😉 😉 ).
>
>
>     >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)

With an LTTng kernel trace, you can get all that. Add a UST trace to it and you can correlate both traces together.

Cheers,

Geneviève



[-- Attachment #1.2: Type: text/html, Size: 7127 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [tracecompass-dev] Question related to LTTng
       [not found]           ` <3f170528-e3b4-4b37-b94b-5f8276abb53e@versatic.net>
@ 2019-03-29 17:10             ` Ravindra Kumar Meena
  0 siblings, 0 replies; 9+ messages in thread
From: Ravindra Kumar Meena @ 2019-03-29 17:10 UTC (permalink / raw)
  To: Geneviève Bastien; +Cc: lttng-dev, tracecompass-dev


[-- Attachment #1.1: Type: text/plain, Size: 2662 bytes --]

Hi developers,

Thanks to all for the sharing information. It would help me a lot in the
completion of the project at my university.

--Ravindra Kumar Meena

On Fri, Mar 29, 2019 at 8:34 PM Geneviève Bastien <gbastien@versatic.net>
wrote:

> Hi Ravindra,
> On 2019-03-27 2:49 p.m., Ravindra Kumar Meena wrote:
>
> > 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.
>>
>
>
>> Yes. That's what I want to do but it has to in real-time manner.
>>
> 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!
>
>
>
>> > I would like to know if there is a way to transfer CTF to Trace Compass
>> in a real-time manner using TCP/UDP.
>>
>>
>> >Would scp work? Just asking.
>>
>
>
>> I am supposed to transfer it through only TCP/UDP.
>>
> LTTng does support relaying the data over the network (see
> https://lttng.org/docs/v2.10/#doc-sending-trace-data-over-the-network).
> 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.
>
>
>
>> >How can I convert CTF Trace Data to LTTng? Since TraceCompass already
>> understands LTTng Trace Data.
>>
>>
>> >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! 😉 😉 ).
>>
>>
>>     >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)
>
> With an LTTng kernel trace, you can get all that. Add a UST trace to it
> and you can correlate both traces together.
>
> Cheers,
>
> Geneviève
>
>

-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad

[-- Attachment #1.2: Type: text/html, Size: 7743 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Question related to LTTng
@ 2019-03-27 11:23 Ravindra Kumar Meena
  0 siblings, 0 replies; 9+ messages in thread
From: Ravindra Kumar Meena @ 2019-03-27 11:23 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 505 bytes --]

Hi Developers,

I am working on a project where I want Trace Compass to analyze and display
some information. I wanna ask a few things:

Q1. Is there any way to extend Trace Compass to work trace data in CTF
format?

Q2. How trace data(CTF) can be converted to Linux kernel trace data(LTTng)
which Trace Compass already understands?

Thanks
-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad

[-- Attachment #1.2: Type: text/html, Size: 957 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-03-29 17:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAEWVvOTEJjw3kYfPfrcW68Ux6fy1g5utoHBpy=o++d71rxddbg@mail.gmail.com>
2019-03-27 14:20 ` Question related to LTTng Jonathan Rajotte-Julien
2019-03-27 17:03 ` Genevieve Bastien
     [not found] ` <f0d5b7b4-dacc-ca93-10d5-cc3f7c88d320@versatic.net>
2019-03-27 17:31   ` [tracecompass-dev] " Matthew Khouzam
     [not found]   ` <BN8PR15MB3090BB0C0E9FC7D9865EF2369E580@BN8PR15MB3090.namprd15.prod.outlook.com>
2019-03-27 18:14     ` Ravindra Kumar Meena
     [not found]     ` <CAEWVvOT1EQ9aS3Ao5u-nypV2ZrsDyHHMh9fEguLDgG27w6=gRw@mail.gmail.com>
2019-03-27 18:23       ` Matthew Khouzam
     [not found]       ` <BN8PR15MB30907BD062BC346E35C2B7E09E580@BN8PR15MB3090.namprd15.prod.outlook.com>
2019-03-27 18:49         ` Ravindra Kumar Meena
     [not found]         ` <CAEWVvOTtN_sckmpsXn6w4JkfFo4HYcta_YzwnfBhmZt_OeUJtA@mail.gmail.com>
2019-03-29 15:04           ` Geneviève Bastien
     [not found]           ` <3f170528-e3b4-4b37-b94b-5f8276abb53e@versatic.net>
2019-03-29 17:10             ` Ravindra Kumar Meena
2019-03-27 11:23 Ravindra Kumar Meena

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.