hwangcc23 / ptm2human

ARM PTM decoder, and ARM ETM v4 decoder. ptm2human is a decoder for trace data outputted by Program Trace Macrocell (PTM) and Embedded Trace Macrocell (ETMv4).
GNU General Public License v2.0
50 stars 8 forks source link

Support ETE decoding from Armv9 #13

Open holaymzhang opened 1 year ago

holaymzhang commented 1 year ago

Thanks to this useful decoder tool.

Since ETE and TRBE are next-generation hardware tracing components from Armv9. Whether there is any plan to support the ETE decoding?

hwangcc23 commented 1 year ago

Thank you for bringing up this question.

I quickly looked it up in the ARM online documentation, and it seems that ETE is compatible with ETMv4.There is no need to modify the code. https://developer.arm.com/documentation/102856/0100/Embedded-Trace-Extension?lang=en

Embedded Trace Extension ETE is the trace architecture for Armv9-A PEs. ETE has many similarities with the Arm ETMv4 architecture. These similarities create a trace programming and decode environment that is compatible between ETE and ETMv4 implementations.

I will allocate some time to go through the documentation to determine if any changes to the code are required for ETE. If you have any suggestions or a pull request, please feel free to share. :)