Hi Eric,
On Thu, Jun 11, 2020 at 10:23:09AM +0800, H MJ wrote:
Dears,
I am trying to get the data, but still failed. (orz..) If you have any suggestion or possible solutions, please tell me.
Based on your yersterday shared log, seems ETM has not been initialized properly. So suggest to firstly check if CoreSight devices have been initialized or not.
Could you check below folder?
# ls /sys/bus/coresight/devices/ etm0 etm2 etm4 funnel0 funnel2 funnel4 stm0 tmc_etf1 tpiu0 etm1 etm3 etm5 funnel1 funnel3 replicator0 tmc_etf0 tmc_etr0
And please confirm if ETM/ETR/ETF has been initialized or not, a simple way is to use below command:
# dmesg | grep -i coresight [ 5.390787] coresight-tmc 20070000.etr: Adding to iommu group 1 [ 5.400714] coresight etm2: CPU2: ETM v4.0 initialized [ 5.407232] coresight etm3: CPU3: ETM v4.0 initialized [ 5.412955] coresight etm4: CPU4: ETM v4.0 initialized [ 5.418689] coresight etm5: CPU5: ETM v4.0 initialized [ 5.425828] coresight etm1: CPU1: ETM v4.0 initialized [ 5.431517] coresight stm0: STM500 initialized [ 5.436390] coresight etm0: CPU0: ETM v4.0 initialized
Thanks, Leo
H MJ eric.mjh123@gmail.com 於 2020年6月10日 週三 下午3:38寫道:
Dear AI,
Big Thank for your replaying.
==> I can see "/sys/devices/cs_etm".
==> I cannot see "/sys/devices/cs_etm/sinks " # ls /sys/devices/cs_etm/ format nr_addr_filters perf_event_mux_interval_ms power subsystem type uevent
==> perf_mi10 list cs_etm cs_etm// [Kernel PMU event]
Big Thanks. BRs, Eric