Dears,
I am trying to get the data, but still failed. (orz..) If you have any suggestion or possible solutions, please tell me.
Big thank, again. BRs, Eric.
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
Al Grant Al.Grant@arm.com 於 2020年6月10日 週三 下午3:15寫道:
I don't have the folder (/sys/bus/event_source/devices/cs_etm/sinks). Does it mean that I cannot use the coresight?
Do you see /sys/devices/cs_etm ? Do you see /sys/devices/cs_etm/sinks ? Does "perf list cs_etm" show anything?
Al
But I can see many devices in `/sys/bus/coresight/devices/`
Thanks, BRs. Eric
coresight-audio-etm0 coresight-cti-npu_dl_cti_0 coresight-funnel-ddr-ch13 coresight-tpda-swao coresight-csr coresight-cti-npu_dl_cti_1 coresight-funnel-dl-center coresight-tpdm-actpm coresight-cti-apss_cti0 coresight-cti-npu_q6_cti coresight-funnel-dl-compute coresight-tpdm-apss coresight-cti-apss_cti1 coresight-cti-swao_cti0 coresight-funnel-dl-mm coresight-tpdm-ddr coresight-cti-apss_cti2 coresight-cti-swao_cti1 coresight-funnel-dl-north coresight-tpdm-ddr-ch02 coresight-cti-compute_dl_cti coresight-cti-swao_cti2 coresight-funnel-dl-south coresight-tpdm-ddr-ch13 coresight-cti-cpu0 coresight-cti-swao_cti3 coresight-funnel-gpu coresight-tpdm-dl-north coresight-cti-cpu1 coresight-cti-turing_dl_cti coresight-funnel-in0 coresight-tpdm-dl-south coresight-cti-cpu2 coresight-cti-turing_q6_cti coresight-funnel-in1 coresight-tpdm-dlct coresight-cti-cpu3 coresight-cti0 coresight-funnel-lpass coresight-tpdm-gpu coresight-cti-cpu4 coresight-cti1 coresight-funnel-merg coresight-tpdm-ipcc coresight-cti-cpu5 coresight-cti10 coresight-funnel-npu coresight-tpdm-llm-gold coresight-cti-cpu6 coresight-cti11 coresight-funnel-qatb coresight-tpdm-llm-silver coresight-cti-cpu7 coresight-cti12 coresight-funnel-swao coresight-tpdm-lpass coresight-cti-ddr_ch02_dl_cti_0 coresight-cti13 coresight-funnel-turing coresight-tpdm-lpass-lpi coresight-cti-ddr_ch13_dl_cti_0 coresight-cti14 coresight-funnel-venus coresight-tpdm-mdss coresight-cti-ddr_dl_0_cti_0 coresight-cti15 coresight-hwevent coresight-tpdm-mm coresight-cti-ddr_dl_0_cti_1 coresight-cti2 coresight-npu-etm0 coresight-tpdm-npu coresight-cti-ddr_dl_0_cti_2 coresight-cti3 coresight-replicator-qdss coresight-tpdm-npu-dpm coresight-cti-ddr_dl_1_cti_0 coresight-cti4 coresight-replicator-swao coresight-tpdm-npu-llm coresight-cti-ddr_dl_1_cti_1 coresight-cti5 coresight-ssc-etm0 coresight-tpdm-pimem coresight-cti-ddr_dl_1_cti_2 coresight-cti6 coresight-stm coresight-tpdm-prng coresight-cti-dlct_cti0 coresight-cti7 coresight-swao-csr coresight-tpdm-qm coresight-cti-dlct_cti1 coresight-cti8 coresight-tgu-ipcb coresight-tpdm-swao-0 coresight-cti-dlct_cti2 coresight-cti9 coresight-tmc-etf coresight-tpdm-swao-1 coresight-cti-dlmm_cti0 coresight-eud coresight-tmc-etr coresight-tpdm-turing coresight-cti-dlmm_cti1 coresight-funnel-apss coresight-tpda coresight-tpdm-venus coresight-cti-iris_dl_cti coresight-funnel-apss-merg coresight-tpda-apss coresight-turing-etm0 coresight-cti-lpass_dl_cti coresight-funnel-ddr-0 coresight-tpda-dl-north coresight-cti-mdss_dl_cti coresight-funnel-ddr-ch02 coresight-tpda-dl-south
ls /sys/bus/coresight/devices/
Leo Yan leo.yan@linaro.org 於 2020年6月10日 週三 下午1:24寫道:
Hi Eric,
On Wed, Jun 10, 2020 at 01:01:09PM +0800, H MJ wrote:
Dear Leo,
Thanks again for this replaying.
I tried two commands by using the new build version (new perf and kernel), but its perf got same error.
# ./perf_mi_1817 record -e cs_etm/@coresight-tmc-etr/ --per-thread ls event syntax error: 'cs_etm/@coresight-tmc-etr/' ___ parser error
This is not right, please specify the correct sink name. For how to find the correct sink name, please follow kernel document: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tre e/Documentation/trace/coresight/coresight.rst#n467
Usually, you need to specify event name as 'cs_etm/@tmc_etr0', or 'cs_etm/@tmc_etf0', etc.
[...]
Thank you very much.
Welcome!
Thanks, Leo
CoreSight mailing list CoreSight@lists.linaro.org https://lists.linaro.org/mailman/listinfo/coresight