Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-12-01 Thread Jiri Olsa
On Mon, Dec 01, 2014 at 12:28:08PM -0500, Jérémie Galarneau wrote: > On Fri, Nov 28, 2014 at 6:26 AM, Jiri Olsa wrote: > > On Wed, Nov 26, 2014 at 06:37:21PM +0100, Sebastian Andrzej Siewior wrote: > >> * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: > > > > SNIP > > > >> > >> >This was

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-12-01 Thread Jérémie Galarneau
On Fri, Nov 28, 2014 at 6:26 AM, Jiri Olsa wrote: > On Wed, Nov 26, 2014 at 06:37:21PM +0100, Sebastian Andrzej Siewior wrote: >> * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: > > SNIP > >> >> >This was based on the most recent file format I was aware of, we will >> >update it

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-12-01 Thread Jérémie Galarneau
On Fri, Nov 28, 2014 at 6:26 AM, Jiri Olsa jo...@redhat.com wrote: On Wed, Nov 26, 2014 at 06:37:21PM +0100, Sebastian Andrzej Siewior wrote: * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: SNIP This was based on the most recent file format I was aware of, we will update it

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-12-01 Thread Jiri Olsa
On Mon, Dec 01, 2014 at 12:28:08PM -0500, Jérémie Galarneau wrote: On Fri, Nov 28, 2014 at 6:26 AM, Jiri Olsa jo...@redhat.com wrote: On Wed, Nov 26, 2014 at 06:37:21PM +0100, Sebastian Andrzej Siewior wrote: * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: SNIP This was based

RE: [tracecompass-dev] Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-29 Thread Jerome CORRENOZ
...@linutronix.de Subject: Re: [tracecompass-dev] Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion) On 2014-11-26 12:37 PM, Sebastian Andrzej Siewior wrote: > * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: > >> Just

RE: [tracecompass-dev] Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-29 Thread Jerome CORRENOZ
...@linutronix.de Subject: Re: [tracecompass-dev] Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion) On 2014-11-26 12:37 PM, Sebastian Andrzej Siewior wrote: * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: Just a quick note, this branch

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-28 Thread Jiri Olsa
On Wed, Nov 26, 2014 at 06:37:21PM +0100, Sebastian Andrzej Siewior wrote: > * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: SNIP > > >This was based on the most recent file format I was aware of, we will > >update it accordingly if required. > > > >Testing welcome! > > I pushed the

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-28 Thread Jiri Olsa
On Thu, Nov 27, 2014 at 01:31:38PM -0500, Alexandre Montplaisir wrote: > > On 11/27/2014 10:43 AM, Jiri Olsa wrote: > >On Wed, Nov 12, 2014 at 05:14:45PM -0500, Alexandre Montplaisir wrote: > >> > >>Testing welcome! > >hi, > >any other way besides compiling eclipse to test this? For pure mortals

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-28 Thread Jiri Olsa
On Thu, Nov 27, 2014 at 01:31:38PM -0500, Alexandre Montplaisir wrote: On 11/27/2014 10:43 AM, Jiri Olsa wrote: On Wed, Nov 12, 2014 at 05:14:45PM -0500, Alexandre Montplaisir wrote: Testing welcome! hi, any other way besides compiling eclipse to test this? For pure mortals with Fedora

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-28 Thread Jiri Olsa
On Wed, Nov 26, 2014 at 06:37:21PM +0100, Sebastian Andrzej Siewior wrote: * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: SNIP This was based on the most recent file format I was aware of, we will update it accordingly if required. Testing welcome! I pushed the perf changes I

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-27 Thread Alexandre Montplaisir
On 11/27/2014 10:43 AM, Jiri Olsa wrote: On Wed, Nov 12, 2014 at 05:14:45PM -0500, Alexandre Montplaisir wrote: Testing welcome! hi, any other way besides compiling eclipse to test this? For pure mortals with Fedora eclipse rpm.. ;-) If you already have an Eclipse installation, you can use

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-27 Thread Sebastian Andrzej Siewior
On 11/27/2014 04:43 PM, Jiri Olsa wrote: > hi, > any other way besides compiling eclipse to test this? For pure mortals > with Fedora eclipse rpm.. ;-) > > or any instructions for the compilation.. I actually haven't checked yet | mvn clean install -Pbuild-rcp -Dmaven.test.skip=true does the

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-27 Thread Jiri Olsa
On Wed, Nov 12, 2014 at 05:14:45PM -0500, Alexandre Montplaisir wrote: > > On 11/09/2014 08:31 PM, Alexandre Montplaisir wrote: > >On 2014-11-05 10:25 PM, Alexandre Montplaisir wrote: > >> > >>> > But if you could for example tell me the perf equivalents of all the > strings in that file,

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-27 Thread Jiri Olsa
On Wed, Nov 12, 2014 at 05:14:45PM -0500, Alexandre Montplaisir wrote: On 11/09/2014 08:31 PM, Alexandre Montplaisir wrote: On 2014-11-05 10:25 PM, Alexandre Montplaisir wrote: But if you could for example tell me the perf equivalents of all the strings in that file, I could hack

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-27 Thread Sebastian Andrzej Siewior
On 11/27/2014 04:43 PM, Jiri Olsa wrote: hi, any other way besides compiling eclipse to test this? For pure mortals with Fedora eclipse rpm.. ;-) or any instructions for the compilation.. I actually haven't checked yet | mvn clean install -Pbuild-rcp -Dmaven.test.skip=true does the trick.

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-27 Thread Alexandre Montplaisir
On 11/27/2014 10:43 AM, Jiri Olsa wrote: On Wed, Nov 12, 2014 at 05:14:45PM -0500, Alexandre Montplaisir wrote: Testing welcome! hi, any other way besides compiling eclipse to test this? For pure mortals with Fedora eclipse rpm.. ;-) If you already have an Eclipse installation, you can use

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-26 Thread Alexandre Montplaisir
On 2014-11-26 12:37 PM, Sebastian Andrzej Siewior wrote: * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: Just a quick note, this branch is now merged to master. So anyone who pulls the code from the master branch at git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-26 Thread Sebastian Andrzej Siewior
* Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: >Just a quick note, this branch is now merged to master. So anyone who >pulls the code from the master branch at >git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git >should be able to load perf-CTF traces in the viewer.

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-26 Thread Sebastian Andrzej Siewior
* Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: Just a quick note, this branch is now merged to master. So anyone who pulls the code from the master branch at git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git should be able to load perf-CTF traces in the viewer. The

Re: Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-26 Thread Alexandre Montplaisir
On 2014-11-26 12:37 PM, Sebastian Andrzej Siewior wrote: * Alexandre Montplaisir | 2014-11-12 17:14:45 [-0500]: Just a quick note, this branch is now merged to master. So anyone who pulls the code from the master branch at git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-14 Thread Jiri Olsa
adding Matthew Khouzam to the loop jirka On Thu, Nov 13, 2014 at 08:24:48PM +0100, Sebastian Andrzej Siewior wrote: > I try to get through my ctf mailbox and I hoped I can finish it today > but I don't make it completely… > > On 11/06/2014 04:25 AM, Alexandre Montplaisir wrote: > > "mvn clean

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-14 Thread Jiri Olsa
adding Matthew Khouzam to the loop jirka On Thu, Nov 13, 2014 at 08:24:48PM +0100, Sebastian Andrzej Siewior wrote: I try to get through my ctf mailbox and I hoped I can finish it today but I don't make it completely… On 11/06/2014 04:25 AM, Alexandre Montplaisir wrote: mvn clean install.

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-13 Thread Sebastian Andrzej Siewior
I try to get through my ctf mailbox and I hoped I can finish it today but I don't make it completely… On 11/06/2014 04:25 AM, Alexandre Montplaisir wrote: > "mvn clean install". It is the Maven equivalent of "./configure && make" ;) > > Or if you want to build a standalone application (RCP): >

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-13 Thread Sebastian Andrzej Siewior
I try to get through my ctf mailbox and I hoped I can finish it today but I don't make it completely… On 11/06/2014 04:25 AM, Alexandre Montplaisir wrote: mvn clean install. It is the Maven equivalent of ./configure make ;) Or if you want to build a standalone application (RCP): mvn clean

Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-12 Thread Alexandre Montplaisir
On 11/09/2014 08:31 PM, Alexandre Montplaisir wrote: On 2014-11-05 10:25 PM, Alexandre Montplaisir wrote: But if you could for example tell me the perf equivalents of all the strings in that file, I could hack together such wrapper. With that, in theory, perf traces should behave exactly

Support for Perf CTF traces now in master (was Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion)

2014-11-12 Thread Alexandre Montplaisir
On 11/09/2014 08:31 PM, Alexandre Montplaisir wrote: On 2014-11-05 10:25 PM, Alexandre Montplaisir wrote: But if you could for example tell me the perf equivalents of all the strings in that file, I could hack together such wrapper. With that, in theory, perf traces should behave exactly

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-05 Thread Alexandre Montplaisir
On 11/05/2014 01:50 PM, Sebastian Andrzej Siewior wrote: [...] If the trace events from both LTTng and perf represent the same thing (and I assume they should, since they come from the same tracepoints, right?), then we could just add a wrapper on the viewer side to decide which event/field

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-05 Thread Sebastian Andrzej Siewior
* Alexandre Montplaisir | 2014-11-04 02:20:10 [+0100]: >Hi Sebastian, Hi Alexandre, >On 11/03/2014 06:58 PM, Sebastian Andrzej Siewior wrote: >This is really great! Initially, I had believed that we would have >needed to add a separate parser plugin, and to consider "perf traces" >as a

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-05 Thread Sebastian Andrzej Siewior
* Alexandre Montplaisir | 2014-11-04 02:20:10 [+0100]: Hi Sebastian, Hi Alexandre, On 11/03/2014 06:58 PM, Sebastian Andrzej Siewior wrote: This is really great! Initially, I had believed that we would have needed to add a separate parser plugin, and to consider perf traces as a completely

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-05 Thread Alexandre Montplaisir
On 11/05/2014 01:50 PM, Sebastian Andrzej Siewior wrote: [...] If the trace events from both LTTng and perf represent the same thing (and I assume they should, since they come from the same tracepoints, right?), then we could just add a wrapper on the viewer side to decide which event/field

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-03 Thread Alexandre Montplaisir
Hi Sebastian, On 11/03/2014 06:58 PM, Sebastian Andrzej Siewior wrote: [...] I did on the linux side: |perf record \ | -e sched:sched_switch \ | -a This gave me perf.data trace. No with the new extension I converted it into CTF data stream (perf data convert -i perf.data --to-ctf ctf) and

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-03 Thread Sebastian Andrzej Siewior
On 08/20/2014 09:14 PM, Alexandre Montplaisir wrote: > On 08/20/2014 05:28 AM, Jiri Olsa wrote: >> >> ok, easy enough ;-) so I'm guessing this governs the expected >> CTF layout for event/stream headers/contexts, right? > > Correct, if the domain is "kernel" we then assume that the rest of the >

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-03 Thread Sebastian Andrzej Siewior
On 08/20/2014 09:14 PM, Alexandre Montplaisir wrote: On 08/20/2014 05:28 AM, Jiri Olsa wrote: ok, easy enough ;-) so I'm guessing this governs the expected CTF layout for event/stream headers/contexts, right? Correct, if the domain is kernel we then assume that the rest of the trace

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-03 Thread Alexandre Montplaisir
Hi Sebastian, On 11/03/2014 06:58 PM, Sebastian Andrzej Siewior wrote: [...] I did on the linux side: |perf record \ | -e sched:sched_switch \ | -a This gave me perf.data trace. No with the new extension I converted it into CTF data stream (perf data convert -i perf.data --to-ctf ctf) and

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-22 Thread Jiri Olsa
On Thu, Aug 21, 2014 at 04:03:01PM -0400, Alexandre Montplaisir wrote: > > On 08/21/2014 12:58 PM, Jiri Olsa wrote: > >hum, I've got nothing from babeltrace: > > > >[jolsa@krava ~]$ su > >Password: > >[root@krava jolsa]# lttng create perf > >Spawning a session daemon > >Session perf created. >

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-22 Thread Jiri Olsa
On Thu, Aug 21, 2014 at 04:03:01PM -0400, Alexandre Montplaisir wrote: On 08/21/2014 12:58 PM, Jiri Olsa wrote: hum, I've got nothing from babeltrace: [jolsa@krava ~]$ su Password: [root@krava jolsa]# lttng create perf Spawning a session daemon Session perf created. Traces will be

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-21 Thread Alexandre Montplaisir
On 08/21/2014 12:58 PM, Jiri Olsa wrote: hum, I've got nothing from babeltrace: [jolsa@krava ~]$ su Password: [root@krava jolsa]# lttng create perf Spawning a session daemon Session perf created. Traces will be written in /root/lttng-traces/perf-20140821-184956 [root@krava jolsa]# lttng

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-21 Thread Jiri Olsa
On Wed, Aug 20, 2014 at 03:14:20PM -0400, Alexandre Montplaisir wrote: > On 08/20/2014 05:28 AM, Jiri Olsa wrote: > > > >ok, easy enough ;-) so I'm guessing this governs the expected > >CTF layout for event/stream headers/contexts, right? > > Correct, if the domain is "kernel" we then assume that

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-21 Thread Jiri Olsa
On Wed, Aug 20, 2014 at 03:14:20PM -0400, Alexandre Montplaisir wrote: On 08/20/2014 05:28 AM, Jiri Olsa wrote: ok, easy enough ;-) so I'm guessing this governs the expected CTF layout for event/stream headers/contexts, right? Correct, if the domain is kernel we then assume that the rest

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-21 Thread Alexandre Montplaisir
On 08/21/2014 12:58 PM, Jiri Olsa wrote: hum, I've got nothing from babeltrace: [jolsa@krava ~]$ su Password: [root@krava jolsa]# lttng create perf Spawning a session daemon Session perf created. Traces will be written in /root/lttng-traces/perf-20140821-184956 [root@krava jolsa]# lttng

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-20 Thread Alexandre Montplaisir
On 08/20/2014 05:28 AM, Jiri Olsa wrote: ok, easy enough ;-) so I'm guessing this governs the expected CTF layout for event/stream headers/contexts, right? Correct, if the domain is "kernel" we then assume that the rest of the trace contains the expected elements of a kernel trace. Of

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-20 Thread Jiri Olsa
On Tue, Aug 19, 2014 at 01:42:12PM -0400, Alexandre Montplaisir wrote: > Hi Jiri, > > (sorry for breaking the thread, I didn't have the original email, but was > forwarded it) np, some other folks to the CC > > I work on the Eclipse viewer (a.k.a. Trace Compass). > > > so I've put perf

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-20 Thread Jiri Olsa
On Tue, Aug 19, 2014 at 01:42:12PM -0400, Alexandre Montplaisir wrote: Hi Jiri, (sorry for breaking the thread, I didn't have the original email, but was forwarded it) np, some other folks to the CC I work on the Eclipse viewer (a.k.a. Trace Compass). so I've put perf converted CTF

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-20 Thread Alexandre Montplaisir
On 08/20/2014 05:28 AM, Jiri Olsa wrote: ok, easy enough ;-) so I'm guessing this governs the expected CTF layout for event/stream headers/contexts, right? Correct, if the domain is kernel we then assume that the rest of the trace contains the expected elements of a kernel trace. Of