Hello,
I’m trying to use Coresight PTM to do a trace on TX2. Following the instructions given here:
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fdebugging_PTM.html%23
I was able to capture some data, but I’m stuck trying to figure out where to find the mem_parser tool mentioned in this documentation?
I know that Linaro did an integration of Coresight OpenCSD library into perf, which also supports Coresight PMU. Is anything like this supported by L4T?
Also has anyone had any experience with this or made it to work on Jetson?
Thank you.
Have a try this attached. Remove the “.txt” for executable
mem_parser.txt (261 KB)
Thank you @ShaneCCC
Is this made by nVidia? Is there source code available? I see that I can only run it on the host and not on the Jetson board :( I really need to analyze the traces on the target itself. is there a solution for this ?
Please try this for tegra.
mem_parser_arm.txt (280 KB)
how to copy this to the Jetson board and use it there ?
You can copy it by scp command to it.
what does mem_parser do ? Can you trace a hello world program with it ? all i see is kernel calls . dont see my program main function of functions being called.
can you please elaborate on the tool or an alternative to trace a user program on TX2 board
I think you can use gdb for user space programing.
Suppose mem_parser is for kernel Image so need provide the vmlinux as input.