I am interested in collecting branch target information from the CPU code of a program. I am curious to know if there are any features and supports on Jetson AGX Orin akin to Intel PT for processor tracing.
Does any ARM CPU support this?
Yes, ARM Coresight ETM supports this. And it seems other Jetson platform can use PTM to achieve this goal. But the tutorial seems not work on AGX Orin.
will jtag suffice for what you want to achieve?
I would like to avoid utilizing additional hardware and prefer using CoreSight, like this, to obtain the processor trace from the kernel. While I find this approach agreeable, I haven’t found any technical references about utilizing CoreSight on Jetson AGX Orin. Do you know if the operating system in Jetson AGX Orin supports such features? Thank you very much for your assistance.
Coresight tracing sources (STM and ETM) and ETF sink are supported in Linux in Orin.
The corresponding nodes in device tree need to be enabled: hardware/nvidia/soc/t23x/kernel-dts/tegra234-soc/tegra234-soc-coresight.dtsi
Below kernel config also needs to be enabled:
ETR sink is not accessible currently.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.