Decoding the PTM traces

Arve Hjønnevåg arve at android.com
Wed Nov 14 18:25:57 EST 2012


On Wed, Nov 14, 2012 at 6:04 AM, Arun KS <arunks.linux at gmail.com> 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.
>
> Anyone has any pointers?
>
> Thanks,
> Arun

I attached some tools I use to decode the traces. I have used this on
the A8, A9 and A15. I assume since you cc-ed me you have already
applied the kernel patches I posted a while back. Without them you
will not get useful trace data from a dual core processor.

-- 
Arve Hjønnevåg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: etm.c
Type: text/x-csrc
Size: 20847 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121114/7058a281/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objdump.py
Type: application/octet-stream
Size: 6317 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121114/7058a281/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: etm-objdump.py
Type: application/octet-stream
Size: 6984 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121114/7058a281/attachment-0003.obj>


More information about the linux-arm-kernel mailing list