I’d like to use wcet (worst case execution time) analyzer on NVIDIA Drive AGX board. Here are my uname output and the platforms I am using:
uname: Linux tegra-ubuntu 4.14.102-rt53-tegra #1 SMP PREEMPT RT Fri Sep 20 16:23:45 PDT 2019 aarch64 aarch64 aarch64 GNU/Linux
NVIDIA DRIVE™ Software 10.0 (Linux)
Target Operating System
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
SDK Manager Version
Host Machine Version
native Ubuntu 18.04
According to analyzer Vendor, they specify that for the arm (for example, armv8 aarch64 ) tool needs trace output. The format is CoreSight - Embedded Trace Macrocell (ETM) instruction trace data,
e.g. generated by
** ARMv7/v8 AARch32, e.g., Cortex-A53, Cortex-R5F**
However I couldn’t manage to generate this trace on AGX board. I have seen this issue:Installing Linux performance monitoring tools on Jetson TX2 and followed the same procedure to install perf tool. In the link here :Coresight - HW Assisted Tracing on ARM — The Linux Kernel documentation
It is stated that
There are two ways to use the Coresight framework:
- using the perf cmd line tools.
- interacting directly with the Coresight devices using the sysFS interface.
So I tried option 1 which is perf cmd lien tools. However, In the linke above from nvidia forum, when I run the
./perf list pmu command the output is : List of pre-defined events (to be used in -e):
which is empty!. But I think it should list as cs_etm// [Kernel PMU event] which corresponds to coresight embedded trace macrocell.
How can I proceed at this moment? Should coresight drivers be installed already? or am I missign something or should I install the drivers through NVIDIA SDK etc.?
Thanks for any help!