Hello,
I would like to test the System Trace Macrocell (STM) on db410c and tried following the steps at [1]. I am using linux kernel version 5.9.0-qcomlt-arm64 and I believe the steps described in the linked post are for an earlier version of the kernel.
I tried those steps (but slightly adjusted so it is conform to the sysfs path on 5.9.0-qcomlt-arm64) and it fails when trying to link: *$ echo 802000.stm > **/sys/class/stm_source/ftrace/stm_source_link* bash: echo: write error: Invalid argument *$ echo stm > **/sys/class/stm_source/ftrace/stm_source_link* bash: echo: write error: Invalid argument *$ echo stm0 > **/sys/class/stm_source/ftrace/stm_source_link* bash: echo: write error: Invalid argument
I'd be happy to test the steps on a working version of the kernel. Does anyone know for which kernel version the steps in [1] are? I'd also be grateful if someone has the right steps to test STM with ftrace on the recent kernel versions.
Thank you, Enes
[1] https://lists.linaro.org/pipermail/coresight/2018-August/001653.html