Re: Decoding the PTM traces

2012-11-15 Thread Arun KS
Hello Arve, On Thu, Nov 15, 2012 at 9:11 AM, Arun KS wrote: > Hello Arve, > > On Thu, Nov 15, 2012 at 4:55 AM, Arve Hjønnevåg wrote: >> On Wed, Nov 14, 2012 at 6:04 AM, Arun KS wrote: >>> Hello, >>> >>> I m trying to capture and decode PTM trace from Cortex A9 dual core. >>> >>> I m successful

Re: Decoding the PTM traces

2012-11-14 Thread Arun KS
Hello Arve, On Thu, Nov 15, 2012 at 4:55 AM, Arve Hjønnevåg wrote: > On Wed, Nov 14, 2012 at 6:04 AM, Arun KS wrote: >> Hello, >> >> I m trying to capture and decode PTM trace from Cortex A9 dual core. >> >> I m successful in configuring the driver(arch/arm/kernel/etm.c) and >> setting the funn

Re: Decoding the PTM traces

2012-11-14 Thread Arve Hjønnevåg
On Wed, Nov 14, 2012 at 6:04 AM, Arun KS wrote: > Hello, > > I m trying to capture and decode PTM trace from Cortex A9 dual core. > > I m successful in configuring the driver(arch/arm/kernel/etm.c) and > setting the funnel to get data in ETB. > But I don't know how to decode these traces. > > Any

Re: Decoding the PTM traces

2012-11-14 Thread Punit Agrawal
On 14/11/12 15:13, Arun KS wrote: Hello Punit, On Wed, Nov 14, 2012 at 8:28 PM, Punit Agrawal wrote: Hi Arun, You can think of the trace in the ETB as the raw stream resulting from the multiplexing of different trace streams. So to get to the PTM trace you'll first have to de-multiplex the st

Re: Decoding the PTM traces

2012-11-14 Thread Arun KS
Hello Punit, On Wed, Nov 14, 2012 at 8:28 PM, Punit Agrawal wrote: > Hi Arun, > > You can think of the trace in the ETB as the raw stream resulting from > the multiplexing of different trace streams. So to get to the PTM trace > you'll first have to de-multiplex the stream, and then decode the st

Re: Decoding the PTM traces

2012-11-14 Thread Punit Agrawal
Hi Arun, You can think of the trace in the ETB as the raw stream resulting from the multiplexing of different trace streams. So to get to the PTM trace you'll first have to de-multiplex the stream, and then decode the stream based on the source - in this case PTM. The format of the data stored i