I can see all the coresight device listed in /sys/bus/coresight
etm0 etm2 etm5 etm8 funnel1 funnel4 tmc_etf0
etm10 etm3 etm6 etm9 funnel2 replicator0
etm11 etm4 etm7 funnel0 funnel3 stm0
ETR device init failed, and I found it is not supported on Orin.
[ 6.689653] coresight-tmc: probe of 24070000.etr failed with error -13
error -13 means non-secure debug is disabled by hardware
Are you using the devkit or custom board for AGX Orin?
What’s your Jetpack version in use?
We haven’t verified for this use case.
Is ETF a device connected on the AGX Orin? If so, what’s the interface in use?
May I know what’s your use case for this?
Dummy STM dummy is a linux virtual STM device based on STM driver framwork. It just implements an STM device interface and provide STM device fs nodes to the application. The core implementation of this device is just a call to trace_printk whitch will print the application trace to the ftrace buffer.
With real STM device, when link to a trace source (like heartbeat or console trace source), the trace will send to coresight hardware and can be dumped from the ETR / ETF fs nodes.
With dummy STM device, it bypass all the coresight stuff, and just route the trace from trace source to the ftrace buffer, and you can get the trace from ftrace interface.