Dear Leo,
I tried these, the error messages as follow,
# ./perf_mi record -e cs_etm/@tmc_etr0/ --per-thread ls failed to set config "tmc_etr0" on event cs_etm/@tmc_etr0/ with 2 (No such file or directory)
# ./perf_mi10 record -e cs_etm/@tmc_etf0/ --per-thread ls failed to set config "tmc_etf0" on event cs_etm/@tmc_etf0/ with 2 (No such file or directory)
Thanks BRs, Eric
Leo Yan leo.yan@linaro.org 於 2020年6月10日 週三 下午1:26寫道:
On Wed, Jun 10, 2020 at 01:24:32PM +0800, Leo Yan wrote:
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/tree/Docu...
Usually, you need to specify event name as 'cs_etm/@tmc_etr0', or 'cs_etm/@tmc_etf0', etc.
Sorry, should note, the forward slashes is important. So correct as below:
'cs_etm/@tmc_etr0/' 'cs_etm/@tmc_etf0/'
Thanks, Leo