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